aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-drop.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-28 09:46:20 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-19 19:39:55 +0300
commit541b40803751d4dc6b6575e3f80de89b04b71bc6 (patch)
treec98616d5f8a5620329339bf4a86e886b1cebfa6c /bpkg/pkg-drop.cli
parent93d95938306e76a0f8b9422ea6b3cb4695610f73 (diff)
Replace --{drop,keep}-prerequisites with --keep-unused
Diffstat (limited to 'bpkg/pkg-drop.cli')
-rw-r--r--bpkg/pkg-drop.cli31
1 files changed, 13 insertions, 18 deletions
diff --git a/bpkg/pkg-drop.cli b/bpkg/pkg-drop.cli
index 7f9dc19..cbf2279 100644
--- a/bpkg/pkg-drop.cli
+++ b/bpkg/pkg-drop.cli
@@ -21,10 +21,11 @@ namespace bpkg
The \cb{pkg-drop} command drops one or more packages from the
configuration. If the packages being dropped still have dependent
- packages, then those will have to be drop as well and you will be prompted
- to confirm. Similarly, if the packages being dropped have prerequisite
- packages that would otherwise no longer be needed, you will be offered to
- drop those as well.
+ packages, then those will have to be drop as well and you will be
+ prompted to confirm. And if the packages being dropped have dependency
+ packages that would otherwise no longer be used, then they will be
+ dropped as well unless the \c{\b{--keep-unused}|\b{-K}} option is
+ specified.
The \cb{pkg-drop} command also supports several options (described below)
that allow you to control the amount of work that will be done."
@@ -47,27 +48,21 @@ namespace bpkg
with \cb{--print-only|-p}."
}
- bool --drop-dependent
+ bool --keep-unused|-K
{
- "Don't warn about or ask for confirmation if dropping dependent
- packages."
+ "Don't drop dependency packages that were automatically built but will no
+ longer be used."
}
- bool --keep-dependent|-K
+ bool --drop-dependent|-D
{
- "Issue an error if attempting to drop dependent packages."
- }
-
- bool --drop-prerequisite|-D
- {
- "Drop without confirmation prerequsite packages that were automatically
- built and will no longer be necessary."
+ "Don't warn about or ask for confirmation if dropping dependent
+ packages."
}
- bool --keep-prerequisite
+ bool --keep-dependent
{
- "Don't offer to drop prerequsite packages that were automatically built
- and will no longer be necessary."
+ "Issue an error if attempting to drop dependent packages."
}
bool --print-only|-p