aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-drop.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-13 12:50:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-13 12:50:36 +0200
commitad1de6c34f5492164d89667c648294363b972c99 (patch)
treeff95bdc11204b2a3459114b6775bd749f84ef08f /bpkg/pkg-drop.cli
parente89ecd4d84909d853d9441f1cee01fccbb9b210d (diff)
Clean up pkg-drop, add --plan
Diffstat (limited to 'bpkg/pkg-drop.cli')
-rw-r--r--bpkg/pkg-drop.cli13
1 files changed, 10 insertions, 3 deletions
diff --git a/bpkg/pkg-drop.cli b/bpkg/pkg-drop.cli
index cbf2279..dcb9110 100644
--- a/bpkg/pkg-drop.cli
+++ b/bpkg/pkg-drop.cli
@@ -65,15 +65,22 @@ namespace bpkg
"Issue an error if attempting to drop dependent packages."
}
+ bool --disfigure-only
+ {
+ "Disfigure all the packages but don't purge."
+ }
+
bool --print-only|-p
{
"Print to \cb{STDOUT} what would be done without actually doing
anything."
}
- bool --disfigure-only
+ string --plan
{
- "Disfigure all the packages but don't purge."
- }
+ "<header>",
+ "Print the plan (even if \cb{--yes} is specified) and start it with the
+ <header> line (unless it is empty)."
+ };
};
}