diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-17 12:55:03 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-17 14:38:18 +0300 |
commit | 2ea3d11ac1d5b6069268709ca0125d2e90377d93 (patch) | |
tree | 47492a4ae07ad15cc4cf9395c37d662cd2b90771 /bpkg/pkg-uninstall.cli | |
parent | f5bd0385e1e91618655a124ff20e19c1a2acdae6 (diff) |
Add support for --immediate|-i and --recursive|-r to pkg-(un)install
Diffstat (limited to 'bpkg/pkg-uninstall.cli')
-rw-r--r-- | bpkg/pkg-uninstall.cli | 15 |
1 files changed, 14 insertions, 1 deletions
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 (<vars>, 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." + } }; } |