diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-19 21:50:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-24 13:09:49 +0300 |
commit | f40f28b12046cc993712956497dfb9d9baa452f9 (patch) | |
tree | 2637f186e99bee3572e55438190a4e4e96b8bdf3 /bpkg/pkg-checkout.cxx | |
parent | 707408c353bbc4b563f2b9d7c89ce34bf4ab7d47 (diff) |
Add support for --no-progress option
Diffstat (limited to 'bpkg/pkg-checkout.cxx')
-rw-r--r-- | bpkg/pkg-checkout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-checkout.cxx b/bpkg/pkg-checkout.cxx index 6e0f92a..a91cb92 100644 --- a/bpkg/pkg-checkout.cxx +++ b/bpkg/pkg-checkout.cxx @@ -42,7 +42,7 @@ namespace bpkg // Print the progress indicator to attribute the possible fetching // progress. // - if (verb) + if (verb && !o.no_progress ()) text << "checking out " << package_string (ap->id.name, ap->version); @@ -194,7 +194,7 @@ namespace bpkg // At verbosity level 1 we want our (nicer) progress header but the // build system's actual progress. // - if (verb == 1) + if (verb == 1 && !o.no_progress ()) text << "distributing " << n << '/' << v; run_b (o, |