diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-04-29 15:29:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-04-29 15:29:55 +0200 |
commit | 834b5fa49313a82dc0f69e2262a06ee2e0ffb269 (patch) | |
tree | 486926ac20ed694a27bfea5e4369b1eb7759d748 | |
parent | 4bbb90782628d40cd52e03e078611ad38cd74936 (diff) |
Add --suppress-undocumented for usage and regenerate
-rw-r--r-- | cli/cli/buildfile | 2 | ||||
-rw-r--r-- | cli/cli/options.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cli/cli/buildfile b/cli/cli/buildfile index b468ab4..dfefc6a 100644 --- a/cli/cli/buildfile +++ b/cli/cli/buildfile @@ -57,7 +57,7 @@ if ($config.cli != [null] && $config.cli != false) cli.options += --include-with-brackets --include-prefix cli \ --guard-prefix CLI --generate-file-scanner --generate-specifier \ ---generate-modifier --reserved-name stdout +--generate-modifier --suppress-undocumented --reserved-name stdout cli.cxx{*}: { diff --git a/cli/cli/options.cxx b/cli/cli/options.cxx index 463973a..103f82a 100644 --- a/cli/cli/options.cxx +++ b/cli/cli/options.cxx @@ -1489,8 +1489,6 @@ print_usage (::std::ostream& os, ::cli::usage_para p) if (p == ::cli::usage_para::text) os << ::std::endl; - os << "--build2-metadata <arg>" << std::endl; - os << "--help Print usage information and exit." << ::std::endl; os << "--version Print version and exit." << ::std::endl; |