diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-16 13:15:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-16 13:15:53 +0200 |
commit | 422afdb14a7a0c141bce59287377bca1b1b34a07 (patch) | |
tree | 3ef6ca52b40bab5b55eaa28f604478cc255337ea /bpkg/pkg-fetch-options.cli | |
parent | 236ad71b105365bedf9d28a5606616fb9aed3168 (diff) |
Add --purge|-p option to pkg-{fetch,unpack} commands
Diffstat (limited to 'bpkg/pkg-fetch-options.cli')
-rw-r--r-- | bpkg/pkg-fetch-options.cli | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bpkg/pkg-fetch-options.cli b/bpkg/pkg-fetch-options.cli index 057bc43..0ad0531 100644 --- a/bpkg/pkg-fetch-options.cli +++ b/bpkg/pkg-fetch-options.cli @@ -19,9 +19,10 @@ name and version from one of the configuration's repositories. If the \cb{-e|--existing} option is used, then instead of the name and version arguments, \cb{pkg-fetch} expects a local path to the existing package archive. In this case, \cb{bpkg} will use the archive in place, without -copying it to the configuration or package cache directories. It will -also not attempt to remove the archive if the package is purged with -the \cb{pkg-purge} command." +copying it to the configuration or package cache directories. Also, +unless the \cb{-p|--purge} option is specified, \cb{bpkg} will not +attempt to remove the archive when the package is purged with the +\cb{pkg-purge} command." */ namespace bpkg @@ -40,5 +41,10 @@ namespace bpkg "Treat the argument as an existing package archive path rather than package name/version to fetch." }; + + bool --purge|-p + { + "Remove the existing package archive when the package is purged." + }; }; } |