aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-clean.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-25 15:41:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-25 15:41:42 +0200
commita38876e1bcb94b6452f2c820e20883580e47cfe4 (patch)
tree001e06a00c0adcbe497a8386daf4516a2036202e /bpkg/pkg-clean.cli
parent33c8959ea3e3e6a4de1d5ba254a262b0464ee42b (diff)
Add support for passing config vars to pkg-{build,clean,install,uninstall}
Diffstat (limited to 'bpkg/pkg-clean.cli')
-rw-r--r--bpkg/pkg-clean.cli15
1 files changed, 10 insertions, 5 deletions
diff --git a/bpkg/pkg-clean.cli b/bpkg/pkg-clean.cli
index ffad75a..1161b13 100644
--- a/bpkg/pkg-clean.cli
+++ b/bpkg/pkg-clean.cli
@@ -11,17 +11,22 @@ include <bpkg/configuration.cli>;
namespace bpkg
{
{
- "<options> <pkg>",
+ "<options> <vars> <pkg>",
"\h|SYNOPSIS|
- \c{\b{bpkg pkg-clean}|\b{clean} [<options>] <pkg>...}
+ \c{\b{bpkg pkg-clean}|\b{clean} [<options>] [<vars>] (<pkg> [<vars>])...}
\h|DESCRIPTION|
- The \cb{pkg-clean} command cleans the previously configured
- (via \l{bpkg-pkg-build(1)} or \l{bpkg-pkg-configure(1)}) package.
- Underneath, this command doesn't do much more than run \cb{b clean}."
+ The \cb{pkg-clean} command cleans the previously configured (via
+ \l{bpkg-pkg-build(1)} or \l{bpkg-pkg-configure(1)}) package. Underneath,
+ this command doesn't do much more than run \cb{b clean}.
+
+ Additional command line variables (<vars>, normally \cb{config.*}) can be
+ passed to the build system by either specifying them before the packages,
+ in which case they apply to all of them, or after a specific package, in
+ which case they apply only to this package."
}
class pkg_clean_options: configuration_options