diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-09 16:03:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-09 16:03:45 +0200 |
commit | e06c47dc7293b9eaff20c0a5ad5c82883175810d (patch) | |
tree | f082ddc14c80d82cd3fbbffd7e34e44d73a106de | |
parent | 3395280a4f4b6a31fc5c6bbf0ff686b8b9bd010e (diff) |
Add --quiet alias for -q
-rw-r--r-- | bpkg/bpkg.cxx | 2 | ||||
-rw-r--r-- | bpkg/common.cli | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index db95cb5..b5e2a2d 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -93,7 +93,7 @@ parse (const common_options& co, cli::scanner& scan, strings& args) // verb = o.verbose_specified () ? o.verbose () - : o.V () ? 3 : o.v () ? 2 : o.q () ? 0 : 1; + : o.V () ? 3 : o.v () ? 2 : o.quiet () ? 0 : 1; return o; } diff --git a/bpkg/common.cli b/bpkg/common.cli index d2be090..09b23d2 100644 --- a/bpkg/common.cli +++ b/bpkg/common.cli @@ -52,7 +52,7 @@ namespace bpkg \cb{--verbose 3}." } - bool -q + bool --quiet|-q { "Run quietly, only printing error messages. This is equivalent to \cb{--verbose 0}." |