From eb264e1892c2a1379fa3bcab9aefea219e8e7138 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Sep 2015 10:56:32 +0200 Subject: Rework diagnostics verbosity, add quiet mode/option --- build/options.cli | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'build/options.cli') diff --git a/build/options.cli b/build/options.cli index 67eeba2..9bd1dcd 100644 --- a/build/options.cli +++ b/build/options.cli @@ -12,13 +12,20 @@ class options bool -v { "Print actual 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 a level between 0 (disabled) and - 5 (lots of information). @@ Need to document further." + "Set the diagnostics verbosity to between 0 (disabled) and + 6 (lots of information). The default is 1. @@ Need to document + further." }; }; -- cgit v1.1