summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-22 19:33:19 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-22 19:33:19 (GMT)
commit44cce51a1a36973344a0bc1bb99f39410fd678e6 (patch)
tree29b3d0e23e07e3a6b8356396f15bcdcb488e2261 /Source/cmakemain.cxx
parent5765fbbb8803047850194d1498e573b78bcf50eb (diff)
downloadCMake-44cce51a1a36973344a0bc1bb99f39410fd678e6.zip
CMake-44cce51a1a36973344a0bc1bb99f39410fd678e6.tar.gz
CMake-44cce51a1a36973344a0bc1bb99f39410fd678e6.tar.bz2
COMP: fix some warnings and add some doc strings back in
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index e7a850c..df5f37b 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -300,9 +300,9 @@ int do_cmake(int ac, char** av)
std::vector<cmDocumentationEntry> commands;
std::vector<cmDocumentationEntry> compatCommands;
+ std::vector<cmDocumentationEntry> generators;
std::map<std::string,cmDocumentationSection *> propDocs;
- std::vector<cmDocumentationEntry> generators;
hcm.GetCommandDocumentation(commands, true, false);
hcm.GetCommandDocumentation(compatCommands, false, true);
hcm.GetPropertiesDocumentation(propDocs);
@@ -312,8 +312,8 @@ int do_cmake(int ac, char** av)
doc.SetSection("Name",cmDocumentationName);
doc.SetSection("Usage",cmDocumentationUsage);
doc.SetSection("Description",cmDocumentationDescription);
- doc.SetSection("Generators",generators);
- doc.SetSection("Options",cmDocumentationOptions);
+ doc.AppendSection("Generators",generators);
+ doc.PrependSection("Options",cmDocumentationOptions);
doc.SetSection("Commands",commands);
doc.SetSection("Compatibility Commands",compatCommands);
doc.SetSections(propDocs);