summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatter.h
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2014-06-12 20:18:32 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-13 12:36:43 (GMT)
commitde7c2882ff053ebdb60c57caa4f0cef87161fede (patch)
treec9cbe14bf60b1507d04042fc892625cd3f0aaa89 /Source/cmDocumentationFormatter.h
parent1f00d738bde27a55531d27ba311d977fb9c59539 (diff)
downloadCMake-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/cmDocumentationFormatter.h')
-rw-r--r--Source/cmDocumentationFormatter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h
index 61766b9..59513cc 100644
--- a/Source/cmDocumentationFormatter.h
+++ b/Source/cmDocumentationFormatter.h
@@ -26,7 +26,7 @@ public:
/** Types of help provided. */
enum Type
{
- None, Version, Usage, Full, ListManuals,
+ None, Version, Usage, Help, Full, ListManuals,
ListCommands, ListModules, ListProperties, ListVariables, ListPolicies,
OneManual, OneCommand, OneModule, OneProperty, OneVariable, OnePolicy,
OldCustomModules