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-install.cli | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-install.cli') 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 (, 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." + } }; } -- cgit v1.1