diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 1565c592e..158e9c1ff 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 df5f37bba..e676430d4 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);