diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-23 12:22:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-23 12:22:19 +0200 |
commit | 7e9cb673ccfc77c5871292aa5491fc2c2dc2a663 (patch) | |
tree | ccb92fe421c895525be3a5c82429db8ea984775a /cli/options.hxx | |
parent | ccd0499c10b1ebf075bc251c4827ab79a6975165 (diff) |
Add --include-base-last option
Diffstat (limited to 'cli/options.hxx')
-rw-r--r-- | cli/options.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/options.hxx b/cli/options.hxx index 020ff40..65dae49 100644 --- a/cli/options.hxx +++ b/cli/options.hxx @@ -18,6 +18,14 @@ #include <cstddef> #include <exception> +#ifndef CLI_POTENTIALLY_UNUSED +# if defined(_MSC_VER) || defined(__xlC__) +# define CLI_POTENTIALLY_UNUSED(x) (void*)&x +# else +# define CLI_POTENTIALLY_UNUSED(x) (void)x +# endif +#endif + namespace cli { class unknown_mode @@ -452,6 +460,9 @@ class options const bool& exclude_base () const; + const bool& + include_base_last () const; + const std::vector<std::string>& class_ () const; @@ -701,6 +712,7 @@ class options bool option_length_specified_; bool ansi_color_; bool exclude_base_; + bool include_base_last_; std::vector<std::string> class__; bool class__specified_; std::map<std::string, std::string> docvar_; |