summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmDocumentation.cxx5
-rw-r--r--Source/cmakemain.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 1565c59..158e9c1 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -235,6 +235,11 @@ cmDocumentation::cmDocumentation()
sec = new cmDocumentationSection("Generators","GENERATORS");
sec->Append(cmDocumentationGeneratorsHeader);
this->AllSections["Generators"] = sec;
+
+ sec = new cmDocumentationSection("Compatibility Commands",
+ "COMPATIBILITY COMMANDS");
+ sec->Append(cmCompatCommandsDocumentationDescription);
+ this->AllSections["Compatibility Commands"] = sec;
}
//----------------------------------------------------------------------------
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index df5f37b..e676430 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -315,7 +315,7 @@ int do_cmake(int ac, char** av)
doc.AppendSection("Generators",generators);
doc.PrependSection("Options",cmDocumentationOptions);
doc.SetSection("Commands",commands);
- doc.SetSection("Compatibility Commands",compatCommands);
+ doc.AppendSection("Compatibility Commands",compatCommands);
doc.SetSections(propDocs);
doc.SetSeeAlsoList(cmDocumentationSeeAlso);