diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-04 15:14:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-04 15:14:39 +0200 |
commit | 2858e5f80f836862400bf814ef1b2dcb0ff8a74e (patch) | |
tree | 04572a5e4076e17a125b7a2685491ae1efc9a93e /bpkg/bpkg.cxx | |
parent | cfba3d8d5c83656f272a9713ae6e204f5bb81fa1 (diff) |
Implement -q (quiet) mode
Diffstat (limited to 'bpkg/bpkg.cxx')
-rw-r--r-- | bpkg/bpkg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index 176cc97..8811ba8 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -37,7 +37,7 @@ parse (const common_options& co, cli::scanner& s) // Trace verbosity. // - verb = o.verbose () > 0 ? o.verbose () : (o.v () ? 1 : 0); + verb = o.verbose_specified () ? o.verbose () : o.v () ? 2 : o.q () ? 0 : 1; return o; } |