diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-08 10:52:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-08 10:52:04 +0200 |
commit | 393ab18520eb5019d00822ae744a4d4e65304226 (patch) | |
tree | bbc3f7a6b504d63a2c1dd134627c890ba5fe297c /bpkg/utility.txx | |
parent | 180fdc20372d6501b8fcabb66e1d3cbda02b35c9 (diff) |
Add --[no]diag-color options (infrastructure only)
Diffstat (limited to 'bpkg/utility.txx')
-rw-r--r-- | bpkg/utility.txx | 8 |
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) { |