aboutsummaryrefslogtreecommitdiff
path: root/bpkg/utility.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-08 10:52:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-08 10:52:04 +0200
commit393ab18520eb5019d00822ae744a4d4e65304226 (patch)
treebbc3f7a6b504d63a2c1dd134627c890ba5fe297c /bpkg/utility.txx
parent180fdc20372d6501b8fcabb66e1d3cbda02b35c9 (diff)
Add --[no]diag-color options (infrastructure only)
Diffstat (limited to 'bpkg/utility.txx')
-rw-r--r--bpkg/utility.txx8
1 files changed, 8 insertions, 0 deletions
diff --git a/bpkg/utility.txx b/bpkg/utility.txx
index 47619c6..6113e4e 100644
--- a/bpkg/utility.txx
+++ b/bpkg/utility.txx
@@ -74,6 +74,14 @@ namespace bpkg
if (no_progress)
ops.push_back ("--no-progress");
+ // Forward our --[no]diag-color options.
+ //
+ if (co.diag_color ())
+ ops.push_back ("--diag-color");
+
+ if (co.no_diag_color ())
+ ops.push_back ("--no-diag-color");
+
return process_start_callback (
[] (const char* const args[], size_t n)
{