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.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpkg/utility.cxx') 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 stderr_term = nullopt; + bool stderr_term_color = false; bool yn_prompt (const string& p, char d) -- cgit v1.1