From 2ea3d11ac1d5b6069268709ca0125d2e90377d93 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 May 2018 12:55:03 +0200 Subject: Add support for --immediate|-i and --recursive|-r to pkg-(un)install --- bpkg/pkg-uninstall.cli | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-uninstall.cli') diff --git a/bpkg/pkg-uninstall.cli b/bpkg/pkg-uninstall.cli index 5bc3347..79ccf39 100644 --- a/bpkg/pkg-uninstall.cli +++ b/bpkg/pkg-uninstall.cli @@ -20,7 +20,10 @@ namespace bpkg \h|DESCRIPTION| The \cb{pkg-uninstall} command uninstalls one or more packages that were - previously installed with \l{bpkg-pkg-install(1)}. Underneath, this + previously installed with \l{bpkg-pkg-install(1)}. Additionally, + immediate or all dependencies of the specified packages can be also + uninstalled by specifying the \c{\b{--immediate}|\b{-i}} or + \c{\b{--recursive}|\b{-r}} options, respectively. Underneath, this command doesn't do much more than run \cb{b uninstall}. Additional command line variables (, normally \cb{config.*}) can be @@ -33,5 +36,15 @@ namespace bpkg class pkg_uninstall_options: configuration_options { "\h|PKG-UNINSTALL OPTIONS|" + + bool --immediate|-i + { + "Also uninstall immediate dependencies." + } + + bool --recursive|-r + { + "Also uninstall all dependencies, recursively." + } }; } -- cgit v1.1