diff options
author | Adam Strzelecki <ono@java.pl> | 2014-06-12 20:18:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-13 12:36:43 (GMT) |
commit | de7c2882ff053ebdb60c57caa4f0cef87161fede (patch) | |
tree | c9cbe14bf60b1507d04042fc892625cd3f0aaa89 /Source/cmDocumentation.h | |
parent | 1f00d738bde27a55531d27ba311d977fb9c59539 (diff) | |
download | CMake-de7c2882ff053ebdb60c57caa4f0cef87161fede.zip CMake-de7c2882ff053ebdb60c57caa4f0cef87161fede.tar.gz CMake-de7c2882ff053ebdb60c57caa4f0cef87161fede.tar.bz2 |
cmake,ccmake: Produce shorter output on no arguments (#14973)
Instead printing complete help cmake/ccmake now prints only Usage section and
extra information how to get more help or start your build.
Implementation Details:
Usage help type was renamed to Help, and new Usage was introduces that prints
only command line usage information without any extra details.
Commands add some extra information when no arguments are passed.
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r-- | Source/cmDocumentation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index c98e48e..b72b5fe 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -102,6 +102,8 @@ private: bool PrintFiles(std::ostream& os, std::string const& pattern); bool PrintVersion(std::ostream& os); + bool PrintUsage(std::ostream& os); + bool PrintHelp(std::ostream& os); bool PrintHelpFull(std::ostream& os); bool PrintHelpOneManual(std::ostream& os); bool PrintHelpOneCommand(std::ostream& os); @@ -115,7 +117,6 @@ private: bool PrintHelpListProperties(std::ostream& os); bool PrintHelpListVariables(std::ostream& os); bool PrintHelpListPolicies(std::ostream& os); - bool PrintDocumentationUsage(std::ostream& os); bool PrintOldCustomModules(std::ostream& os); const char* GetNameString() const; |