aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-25 09:38:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-25 09:38:40 +0200
commit73fd1a275b7ed039ef3ca18a3706692e9e95177a (patch)
tree1565fca68586c4c23ac6ceedc507f8aed93e7d13 /build2/b.cli
parentaca0c7906724b2c0b648c06604e60fc3164e6f6a (diff)
Add --silent, remap verbosity 0 to 1 while building modules unless silent
Failed that, we may have long periods of seemingly nothing happening (e.g., during implicit bdep sync) while we quietly update the module, which may look like things have hung up.
Diffstat (limited to 'build2/b.cli')
-rw-r--r--build2/b.cli20
1 files changed, 14 insertions, 6 deletions
diff --git a/build2/b.cli b/build2/b.cli
index bf3bf4d..dff707f 100644
--- a/build2/b.cli
+++ b/build2/b.cli
@@ -391,27 +391,35 @@ namespace build2
bool -v
{
- "Print actual commands being executed. This is equivalent to
+ "Print actual commands being executed. This options is equivalent to
\cb{--verbose 2}."
}
bool -V
{
- "Print all underlying commands being executed. This is equivalent to
- \cb{--verbose 3}."
+ "Print all underlying commands being executed. This options is
+ equivalent to \cb{--verbose 3}."
}
bool --quiet|-q
{
- "Run quietly, only printing error messages. This is equivalent to
- \cb{--verbose 0}."
+ "Run quietly, only printing error messages in most contexts. In certain
+ contexts (for example, while updating build system modules) this
+ verbosity level may be ignored. Use \c{--silent} to run quietly in all
+ contexts. This option is equivalent to \cb{--verbose 0}."
+ }
+
+ bool --silent
+ {
+ "Run quietly, only printing error messages in all contexts."
}
uint16_t --verbose = 1
{
"<level>",
"Set the diagnostics verbosity to <level> between 0 and 6. Level 0
- disables any non-error messages while level 6 produces lots of
+ disables any non-error messages (but see the difference between
+ \c{--quiet} and \c{--silent}) while level 6 produces lots of
information, with level 1 being the default. The following additional
types of diagnostics are produced at each level: