summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.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/CPack/cpack.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/CPack/cpack.cxx')
-rw-r--r--Source/CPack/cpack.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 71ba118..b1706e3 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -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;