summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2011-10-12 14:24:04 (GMT)
committerNicolas Despres <nicolas.despres@gmail.com>2011-10-23 20:18:14 (GMT)
commitde512644d8b6c79b348e13e4affa25627040c597 (patch)
treec4bc7d2502dd921dae0716daa041543eb1ecf4b4 /Source/ctest.cxx
parent9ae0604a623edba6f7e9598c66ae77b30adfccd5 (diff)
downloadCMake-de512644d8b6c79b348e13e4affa25627040c597.zip
CMake-de512644d8b6c79b348e13e4affa25627040c597.tar.gz
CMake-de512644d8b6c79b348e13e4affa25627040c597.tar.bz2
Usage: Print help, version and copyright options in usage information.
There were missing for ctest, cpack and ccmake.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index e168fb8..85cecea 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -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