diff options
Diffstat (limited to 'cli/options.cxx')
-rw-r--r-- | cli/options.cxx | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/cli/options.cxx b/cli/options.cxx index c2ad4fd..c38ca35 100644 --- a/cli/options.cxx +++ b/cli/options.cxx @@ -167,8 +167,11 @@ options (int argc, ::cli::unknown_mode arg) : help_ (), version_ (), + suppress_inline_ (), output_dir_ (), - suppress_inline_ () + hxx_suffix_ (".hxx"), + ixx_suffix_ (".ixx"), + cxx_suffix_ (".cxx") { _parse (1, argc, argv, opt, arg); } @@ -181,8 +184,11 @@ options (int start, ::cli::unknown_mode arg) : help_ (), version_ (), + suppress_inline_ (), output_dir_ (), - suppress_inline_ () + hxx_suffix_ (".hxx"), + ixx_suffix_ (".ixx"), + cxx_suffix_ (".cxx") { _parse (start, argc, argv, opt, arg); } @@ -195,8 +201,11 @@ options (int argc, ::cli::unknown_mode arg) : help_ (), version_ (), + suppress_inline_ (), output_dir_ (), - suppress_inline_ () + hxx_suffix_ (".hxx"), + ixx_suffix_ (".ixx"), + cxx_suffix_ (".cxx") { end = _parse (1, argc, argv, opt, arg); } @@ -210,8 +219,11 @@ options (int start, ::cli::unknown_mode arg) : help_ (), version_ (), + suppress_inline_ (), output_dir_ (), - suppress_inline_ () + hxx_suffix_ (".hxx"), + ixx_suffix_ (".ixx"), + cxx_suffix_ (".cxx") { end = _parse (start, argc, argv, opt, arg); } @@ -230,10 +242,16 @@ struct _cli_options_map_init &::cli::thunk<options, bool, &options::help_>; _cli_options_map_["--version"] = &::cli::thunk<options, bool, &options::version_>; - _cli_options_map_["--output-dir"] = - &::cli::thunk<options, std::string, &options::output_dir_>; _cli_options_map_["--suppress-inline"] = &::cli::thunk<options, bool, &options::suppress_inline_>; + _cli_options_map_["--output-dir"] = + &::cli::thunk<options, std::string, &options::output_dir_>; + _cli_options_map_["--hxx-suffix"] = + &::cli::thunk<options, std::string, &options::hxx_suffix_>; + _cli_options_map_["--ixx-suffix"] = + &::cli::thunk<options, std::string, &options::ixx_suffix_>; + _cli_options_map_["--cxx-suffix"] = + &::cli::thunk<options, std::string, &options::cxx_suffix_>; } } _cli_options_map_init_; |