summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-17 14:42:13 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-17 14:42:13 (GMT)
commit07cdd0e60cedd434ff3ec5abb1fe12af0a3ac803 (patch)
tree9d824292c3cbb2430bac5a99e8ed87aeab183f48 /Source/cmDocumentation.h
parent7d1ee1d4c82eb30cd52250e8f5c6b3ab73679bab (diff)
downloadCMake-07cdd0e60cedd434ff3ec5abb1fe12af0a3ac803.zip
CMake-07cdd0e60cedd434ff3ec5abb1fe12af0a3ac803.tar.gz
CMake-07cdd0e60cedd434ff3ec5abb1fe12af0a3ac803.tar.bz2
ENH: Added header before list of commands in generated docs. Made options more intuitive.
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index d32a173..fc87ce0 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -35,7 +35,7 @@ public:
void PrintCopyright(std::ostream& os);
void PrintVersion(std::ostream& os);
- void SetCommands(const cmDocumentationEntry* d) {this->Commands = d;}
+ void SetCommands(const cmDocumentationEntry* d);
void SetDescription(const cmDocumentationEntry* d) {this->Description = d;}
void SetName(const cmDocumentationEntry* d) {this->Name = d;}
void SetOptions(const cmDocumentationEntry* d);
@@ -59,7 +59,7 @@ private:
void PrintUsageSection(std::ostream& os,
const cmDocumentationEntry* section);
- const cmDocumentationEntry* Commands;
+ std::vector<cmDocumentationEntry> Commands;
const cmDocumentationEntry* Description;
const cmDocumentationEntry* Name;
std::vector<cmDocumentationEntry> Options;