diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-08 10:52:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-08 10:52:19 +0200 |
commit | 5755ec31eb0bc2134d9c228c8a0edbe2c3e3c9b5 (patch) | |
tree | 6ff40d57fa9b802bd24331db71ec33d15cb4844e /bdep/utility.txx | |
parent | 8ea9bf7420a74e750f5ffbceb1b8667b097b3e96 (diff) |
Add --[no]diag-color options (infrastructure only)
Diffstat (limited to 'bdep/utility.txx')
-rw-r--r-- | bdep/utility.txx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bdep/utility.txx b/bdep/utility.txx index 100ee07..a7d060d 100644 --- a/bdep/utility.txx +++ b/bdep/utility.txx @@ -121,6 +121,14 @@ namespace bdep 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"); + // Forward our --build* options. // if (co.build_specified ()) @@ -236,6 +244,14 @@ namespace bdep 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 ( [v] (const char* const args[], size_t n) { |