aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-clean.cli
diff options
context:
space:
mode:
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