diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-10-22 19:33:19 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-10-22 19:33:19 (GMT) |
commit | 44cce51a1a36973344a0bc1bb99f39410fd678e6 (patch) | |
tree | 29b3d0e23e07e3a6b8356396f15bcdcb488e2261 /Source/cmakemain.cxx | |
parent | 5765fbbb8803047850194d1498e573b78bcf50eb (diff) | |
download | CMake-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.cxx | 6 |
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); |