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.cli13
1 files changed, 12 insertions, 1 deletions
diff --git a/bpkg/pkg-unpack-options.cli b/bpkg/pkg-unpack-options.cli
index c9101a9..97386a1 100644
--- a/bpkg/pkg-unpack-options.cli
+++ b/bpkg/pkg-unpack-options.cli
@@ -22,7 +22,12 @@ a local path to the existing package source directory. In this case,
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."
+command.
+
+If \cb{-e|--existing} is specified together with the \cb{-r|--replace}
+option, then \cb{pkg-unpack} will replace the archive and/or source
+directory of a package that is already in the \cb{unpacked} or
+\cb{fetched} state."
*/
namespace bpkg
@@ -39,5 +44,11 @@ namespace bpkg
{
"Remove the existing package directory when the package is purged."
};
+
+ bool --replace|-r
+ {
+ "Replace the source directory if the package is already unpacked or
+ fetched. Can only be specified together with \cb{-e|--existing}."
+ };
};
}