aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-unpack-options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-16 13:15:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-16 13:15:53 +0200
commit422afdb14a7a0c141bce59287377bca1b1b34a07 (patch)
tree3ef6ca52b40bab5b55eaa28f604478cc255337ea /bpkg/pkg-unpack-options.cli
parent236ad71b105365bedf9d28a5606616fb9aed3168 (diff)
Add --purge|-p option to pkg-{fetch,unpack} commands
Diffstat (limited to 'bpkg/pkg-unpack-options.cli')
-rw-r--r--bpkg/pkg-unpack-options.cli10
1 files changed, 8 insertions, 2 deletions
diff --git a/bpkg/pkg-unpack-options.cli b/bpkg/pkg-unpack-options.cli
index 0fa77a3..7ffcc62 100644
--- a/bpkg/pkg-unpack-options.cli
+++ b/bpkg/pkg-unpack-options.cli
@@ -19,8 +19,9 @@ fetched (\cb{pkg-fetch}) package. If the \cb{-e|--existing} option
is used, then instead of the package name, \cb{pkg-unpack} expects
a local path to the existing package source directory. In this case,
\cb{bpkg} will use the directory in place, without copying it to the
-configuration or package cache directories. It will also not attempt
-to remove this directory if the package is purged with the \cb{pkg-purge}
+configuration or package cache directories. Also, unless the
+\cb{-p|--purge} option is specified, \cb{bpkg} will not attempt to
+remove this directory when the package is purged with the \cb{pkg-purge}
command."
*/
@@ -40,5 +41,10 @@ namespace bpkg
"Treat the argument as an existing package directory path rather than
package name to unpack."
};
+
+ bool --purge|-p
+ {
+ "Remove the existing package directory when the package is purged."
+ };
};
}