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-install.cli | |
parent | f5bd0385e1e91618655a124ff20e19c1a2acdae6 (diff) |
Add support for --immediate|-i and --recursive|-r to pkg-(un)install
Diffstat (limited to 'bpkg/pkg-install.cli')
-rw-r--r-- | bpkg/pkg-install.cli | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/bpkg/pkg-install.cli b/bpkg/pkg-install.cli index 1466f36..95edef3 100644 --- a/bpkg/pkg-install.cli +++ b/bpkg/pkg-install.cli @@ -19,8 +19,11 @@ namespace bpkg \h|DESCRIPTION| - The \cb{pkg-install} command installs one or more packages. Underneath, - this command doesn't do much more than run \cb{b install}. + The \cb{pkg-install} command installs one or more packages. Additionally, + immediate or all dependencies of the specified packages can be also + installed 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 install}. Additional command line variables (<vars>, normally \cb{config.*}) can be passed to the build system by either specifying them before the packages, @@ -41,5 +44,15 @@ namespace bpkg class pkg_install_options: configuration_options { "\h|PKG-INSTALL OPTIONS|" + + bool --immediate|-i + { + "Also install immediate dependencies." + } + + bool --recursive|-r + { + "Also install all dependencies, recursively." + } }; } |