aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-install.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-17 12:55:03 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-17 14:38:18 +0300
commit2ea3d11ac1d5b6069268709ca0125d2e90377d93 (patch)
tree47492a4ae07ad15cc4cf9395c37d662cd2b90771 /bpkg/pkg-install.cli
parentf5bd0385e1e91618655a124ff20e19c1a2acdae6 (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.cli17
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."
+ }
};
}