From dd817b37a1139f0bbc1414c8b542734662c5da88 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Mar 2018 15:29:02 +0200 Subject: Implement group_scanner --- cli/options.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cli/options.cxx') diff --git a/cli/options.cxx b/cli/options.cxx index a59fb66..68b964b 100644 --- a/cli/options.cxx +++ b/cli/options.cxx @@ -577,6 +577,7 @@ options () generate_description_ (), generate_file_scanner_ (), generate_vector_scanner_ (), + generate_group_scanner_ (), suppress_inline_ (), suppress_cli_ (), cli_namespace_ ("::cli"), @@ -711,6 +712,7 @@ options (int& argc, generate_description_ (), generate_file_scanner_ (), generate_vector_scanner_ (), + generate_group_scanner_ (), suppress_inline_ (), suppress_cli_ (), cli_namespace_ ("::cli"), @@ -848,6 +850,7 @@ options (int start, generate_description_ (), generate_file_scanner_ (), generate_vector_scanner_ (), + generate_group_scanner_ (), suppress_inline_ (), suppress_cli_ (), cli_namespace_ ("::cli"), @@ -985,6 +988,7 @@ options (int& argc, generate_description_ (), generate_file_scanner_ (), generate_vector_scanner_ (), + generate_group_scanner_ (), suppress_inline_ (), suppress_cli_ (), cli_namespace_ ("::cli"), @@ -1124,6 +1128,7 @@ options (int start, generate_description_ (), generate_file_scanner_ (), generate_vector_scanner_ (), + generate_group_scanner_ (), suppress_inline_ (), suppress_cli_ (), cli_namespace_ ("::cli"), @@ -1259,6 +1264,7 @@ options (::cli::scanner& s, generate_description_ (), generate_file_scanner_ (), generate_vector_scanner_ (), + generate_group_scanner_ (), suppress_inline_ (), suppress_cli_ (), cli_namespace_ ("::cli"), @@ -1411,6 +1417,8 @@ print_usage (::std::ostream& os, ::cli::usage_para p) os << "--generate-vector-scanner Generate the vector_scanner implementation." << ::std::endl; + os << "--generate-group-scanner Generate the group_scanner implementation." << ::std::endl; + os << "--suppress-inline Generate all functions non-inline." << ::std::endl; os << "--suppress-cli Do not generate the CLI support types (scanners," << ::std::endl @@ -1649,6 +1657,8 @@ struct _cli_options_map_init &::cli::thunk< options, bool, &options::generate_file_scanner_ >; _cli_options_map_["--generate-vector-scanner"] = &::cli::thunk< options, bool, &options::generate_vector_scanner_ >; + _cli_options_map_["--generate-group-scanner"] = + &::cli::thunk< options, bool, &options::generate_group_scanner_ >; _cli_options_map_["--suppress-inline"] = &::cli::thunk< options, bool, &options::suppress_inline_ >; _cli_options_map_["--suppress-cli"] = -- cgit