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/common.cli | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bpkg/common.cli') diff --git a/bpkg/common.cli b/bpkg/common.cli index ac045d0..d870a8d 100644 --- a/bpkg/common.cli +++ b/bpkg/common.cli @@ -134,6 +134,18 @@ namespace bpkg network transfers, building, etc." } + bool --diag-color + { + "Use color in diagnostics. If printing to a terminal the color is used + by default provided the terminal is not dumb. Use \cb{--no-diag-color} + to suppress." + } + + bool --no-diag-color + { + "Don't use color in diagnostics." + } + path --build { "", -- cgit v1.1