aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-drop.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-19 12:25:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-19 13:53:41 +0300
commit8ae1780760db7f73c7045481e6fd18c7fbada60d (patch)
tree4a443091d79487db80fc9ff62702947516450f7a /bpkg/pkg-drop.cli
parent636d69c1b740d8975bb7c7a3b518c280ac224545 (diff)
Add --dependent-exit pkg-drop option
Diffstat (limited to 'bpkg/pkg-drop.cli')
-rw-r--r--bpkg/pkg-drop.cli7
1 files changed, 7 insertions, 0 deletions
diff --git a/bpkg/pkg-drop.cli b/bpkg/pkg-drop.cli
index 7c2b0bd..75ee04d 100644
--- a/bpkg/pkg-drop.cli
+++ b/bpkg/pkg-drop.cli
@@ -81,6 +81,13 @@ namespace bpkg
"Issue an error if attempting to drop dependent packages."
}
+ uint16_t --dependent-exit
+ {
+ "<code>",
+ "Silently exit with the specified error code if attempting to drop
+ dependent packages."
+ }
+
bool --disfigure-only
{
"Disfigure all the packages but don't purge."