diff options
author | Brad King <brad.king@kitware.com> | 2004-04-14 17:40:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-04-14 17:40:24 (GMT) |
commit | 8020279dd602626ae8edeaa3553d2cd391818e0f (patch) | |
tree | 8f065de32c778d58a4d66fa39f5e56c63f977c7a /Source/cmDocumentation.h | |
parent | 6174100b923738ccad41107dcc4bcd256622f799 (diff) | |
download | CMake-8020279dd602626ae8edeaa3553d2cd391818e0f.zip CMake-8020279dd602626ae8edeaa3553d2cd391818e0f.tar.gz CMake-8020279dd602626ae8edeaa3553d2cd391818e0f.tar.bz2 |
ENH: Added --help-list-commands option.
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 3a0ac18..79023bc 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -28,7 +28,7 @@ public: // High-level interface for standard documents: /** Types of help provided. */ - enum Type { None, Usage, Full, HTML, Man, Copyright, Version }; + enum Type { None, Usage, List, Full, HTML, Man, Copyright, Version }; /** * Check command line arguments for documentation options. Returns @@ -124,6 +124,7 @@ private: void PrintCopyright(std::ostream& os); void PrintVersion(std::ostream& os); void PrintDocumentationUsage(std::ostream& os); + void PrintDocumentationList(std::ostream& os); void PrintDocumentationFull(std::ostream& os); void PrintDocumentationHTML(std::ostream& os); void PrintDocumentationMan(std::ostream& os); |