summaryrefslogtreecommitdiff
path: root/cli/options.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-18 15:35:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-18 15:35:45 +0200
commit6280033ac4d3d3646c4c512a1c852c9c8f088f80 (patch)
tree29d61def865015dca6f1f5f820f0ae7de5904bf8 /cli/options.hxx
parent6dc69580d6101fb1adb1733dad11b5f5ab5fc831 (diff)
Add support for ANSI colorization of usage output
Diffstat (limited to 'cli/options.hxx')
-rw-r--r--cli/options.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/options.hxx b/cli/options.hxx
index ecafb22..933a41a 100644
--- a/cli/options.hxx
+++ b/cli/options.hxx
@@ -426,6 +426,9 @@ class options
option_length () const;
const bool&
+ ansi_color () const;
+
+ const bool&
exclude_base () const;
const std::vector<std::string>&
@@ -569,6 +572,7 @@ class options
bool long_usage_;
bool short_usage_;
std::size_t option_length_;
+ bool ansi_color_;
bool exclude_base_;
std::vector<std::string> class__;
std::map<std::string, std::string> docvar_;