From 3469e1d984c6ae000b59c471e6ef84c4b43497f2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 4 Sep 2016 19:38:33 +0200 Subject: Add -V which is equivalent to --verbose 3 --- bpkg/bpkg.cxx | 4 +++- bpkg/common.cli | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'bpkg') diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index 8a270fd..db95cb5 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -91,7 +91,9 @@ parse (const common_options& co, cli::scanner& scan, strings& args) // Diagnostics verbosity. // - verb = o.verbose_specified () ? o.verbose () : o.v () ? 2 : o.q () ? 0 : 1; + verb = o.verbose_specified () + ? o.verbose () + : o.V () ? 3 : o.v () ? 2 : o.q () ? 0 : 1; return o; } diff --git a/bpkg/common.cli b/bpkg/common.cli index 90c150b..e71140a 100644 --- a/bpkg/common.cli +++ b/bpkg/common.cli @@ -42,8 +42,14 @@ namespace bpkg bool -v { - "Print underlying commands being executed. This is equivalent to - \cb{--verbose 2}." + "Print essential underlying commands being executed. This is equivalent + to \cb{--verbose 2}." + } + + bool -V + { + "Print all underlying commands being executed. This is equivalent to + \cb{--verbose 3}." } bool -q -- cgit v1.1