diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-09 11:32:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-09 11:32:50 +0200 |
commit | cbd8296c7b86f7fc368d1133da3be3670b7923be (patch) | |
tree | 1f8c10aeaf0e19a7d198b06800c2e2a72e760499 /bpkg/drop-options.cli | |
parent | 82a8cf379ee19dbc66c62bfe78b436d4ab6b497a (diff) |
Clean up command names, add aliases
Diffstat (limited to 'bpkg/drop-options.cli')
-rw-r--r-- | bpkg/drop-options.cli | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/bpkg/drop-options.cli b/bpkg/drop-options.cli deleted file mode 100644 index 6901398..0000000 --- a/bpkg/drop-options.cli +++ /dev/null @@ -1,62 +0,0 @@ -// file : bpkg/drop-options.cli -// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -include <bpkg/configuration-options.cli>; - -"\section=1" -"\name=bpkg-drop" -"\summary=drop one or more packages" - -/* -"\h{SYNOPSIS} - -bpkg drop [<options>] <pkg>..." - -"\h{DESCRIPTION} - -The \cb{drop} command drops one or more packages from the configuration. -If the packages being dropped still have dependents, then those will have -to be drop as well and you will be prompted for a confirmation. Similarly, -if the packages being dropped have prerequisites that are no longer needed, -you will be offered to drop those as well. - -The \cb{drop} command also supports several \cb{--*-only} options that allow -you to limit the amount of work that will be done. -*/ - -namespace bpkg -{ - class drop_options: configuration_options - { - bool --yes|-y - { - "Assume the answer to all prompts is \cb{yes}. Note that this option - does not apply to the dropping of dependents; use \cb{--drop-dependent} - for that." - } - - bool --no|-n - { - "Assume the answer to all prompts is \cb{no}. Only makes sense together - with \cb{--print-only|-p}." - } - - bool --drop-dependent - { - "Don't warn about or ask for confirmation of dropping 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." - } - }; -} |