Usage: Print help, version and copyright options in usage information.
There were missing for ctest, cpack and ccmake.
This commit is contained in:
parent
9ae0604a62
commit
de512644d8
|
@ -448,7 +448,7 @@ int main (int argc, char *argv[])
|
|||
doc.SetSection("Name",cmDocumentationName);
|
||||
doc.SetSection("Usage",cmDocumentationUsage);
|
||||
doc.SetSection("Description",cmDocumentationDescription);
|
||||
doc.SetSection("Options",cmDocumentationOptions);
|
||||
doc.PrependSection("Options",cmDocumentationOptions);
|
||||
|
||||
std::vector<cmDocumentationEntry> v;
|
||||
cmCPackGeneratorFactory::DescriptionsMap::const_iterator generatorIt;
|
||||
|
|
|
@ -116,7 +116,7 @@ int main(int argc, char** argv)
|
|||
doc.SetSection("Usage",cmDocumentationUsage);
|
||||
doc.SetSection("Description",cmDocumentationDescription);
|
||||
doc.SetSection("Generators",generators);
|
||||
doc.SetSection("Options",cmDocumentationOptions);
|
||||
doc.PrependSection("Options",cmDocumentationOptions);
|
||||
doc.SetSection("Command",commands);
|
||||
doc.SetSection("Compatibility Commands",compatCommands);
|
||||
doc.SetSeeAlsoList(cmDocumentationSeeAlso);
|
||||
|
|
|
@ -305,7 +305,7 @@ int main (int argc, char *argv[])
|
|||
doc.SetSection("Name",cmDocumentationName);
|
||||
doc.SetSection("Usage",cmDocumentationUsage);
|
||||
doc.SetSection("Description",cmDocumentationDescription);
|
||||
doc.SetSection("Options",cmDocumentationOptions);
|
||||
doc.PrependSection("Options",cmDocumentationOptions);
|
||||
doc.SetSection("Commands",commands);
|
||||
doc.SetSeeAlsoList(cmDocumentationSeeAlso);
|
||||
#ifdef cout
|
||||
|
|
Loading…
Reference in New Issue