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