From 2858e5f80f836862400bf814ef1b2dcb0ff8a74e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Sep 2015 15:14:39 +0200 Subject: Implement -q (quiet) mode --- bpkg/common-options.cli | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'bpkg/common-options.cli') 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 { "", - "Set the diagnostics verbosity to which can be between 0 - (disabled) and 5 (lots of information). @@ Need to document + "Set the diagnostics verbosity to between 0 (disabled) and + 5 (lots of information). The default is 1. @@ Need to document further." }; -- cgit v1.1