aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-unpack-options.cli
diff options
context:
space:
mode:
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."
+ };
};
}