aboutsummaryrefslogtreecommitdiff
path: root/bpkg/utility.cxx
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/utility.cxx
parent180fdc20372d6501b8fcabb66e1d3cbda02b35c9 (diff)
Add --[no]diag-color options (infrastructure only)
Diffstat (limited to 'bpkg/utility.cxx')
-rw-r--r--bpkg/utility.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx
index 68d79ad..467e01f 100644
--- a/bpkg/utility.cxx
+++ b/bpkg/utility.cxx
@@ -161,7 +161,8 @@ namespace bpkg
}
}
- bool stderr_term;
+ optional<const char*> stderr_term = nullopt;
+ bool stderr_term_color = false;
bool
yn_prompt (const string& p, char d)