aboutsummaryrefslogtreecommitdiff
path: root/bpkg/common-options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-04 15:14:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-04 15:14:39 +0200
commit2858e5f80f836862400bf814ef1b2dcb0ff8a74e (patch)
tree04572a5e4076e17a125b7a2685491ae1efc9a93e /bpkg/common-options.cli
parentcfba3d8d5c83656f272a9713ae6e204f5bb81fa1 (diff)
Implement -q (quiet) mode
Diffstat (limited to 'bpkg/common-options.cli')
-rw-r--r--bpkg/common-options.cli14
1 files changed, 10 insertions, 4 deletions
diff --git a/bpkg/common-options.cli b/bpkg/common-options.cli
index ae18ead..a8b36de 100644
--- a/bpkg/common-options.cli
+++ b/bpkg/common-options.cli
@@ -11,14 +11,20 @@ namespace bpkg
bool -v
{
"Print underlying commands being executed. This is equivalent to
- \cb{--verbose 1}."
+ \cb{--verbose 2}."
};
- std::uint16_t --verbose = 0
+ bool -q
+ {
+ "Run quietly, only printing error messages. This is equivalent
+ to \cb{--verbose 0}."
+ };
+
+ std::uint16_t --verbose = 1
{
"<level>",
- "Set the diagnostics verbosity to <level> which can be between 0
- (disabled) and 5 (lots of information). @@ Need to document
+ "Set the diagnostics verbosity to <level> between 0 (disabled) and
+ 5 (lots of information). The default is 1. @@ Need to document
further."
};