aboutsummaryrefslogtreecommitdiff
path: root/bpkg/common.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-08 10:52:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-08 10:52:04 +0200
commit393ab18520eb5019d00822ae744a4d4e65304226 (patch)
treebbc3f7a6b504d63a2c1dd134627c890ba5fe297c /bpkg/common.cli
parent180fdc20372d6501b8fcabb66e1d3cbda02b35c9 (diff)
Add --[no]diag-color options (infrastructure only)
Diffstat (limited to 'bpkg/common.cli')
-rw-r--r--bpkg/common.cli12
1 files changed, 12 insertions, 0 deletions
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
{
"<path>",