From 5755ec31eb0bc2134d9c228c8a0edbe2c3e3c9b5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 8 Dec 2022 10:52:19 +0200 Subject: Add --[no]diag-color options (infrastructure only) --- bdep/utility.txx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bdep/utility.txx') 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) { -- cgit v1.1