summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-05-13 19:43:00 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-05-13 19:43:00 (GMT)
commit9a4e1c5cff84fd13c821b5c5d24b5e39d68b19e1 (patch)
tree3762898374692929411cfcdbc0e1c0871be9f2cc /Source/cmakemain.cxx
parent9eee4149ec6e2e69de52c81f7898c993eaa259f2 (diff)
downloadCMake-9a4e1c5cff84fd13c821b5c5d24b5e39d68b19e1.zip
CMake-9a4e1c5cff84fd13c821b5c5d24b5e39d68b19e1.tar.gz
CMake-9a4e1c5cff84fd13c821b5c5d24b5e39d68b19e1.tar.bz2
STYLE: add "--help-policy" and "--help-policies" to the documentation
-generate and install the policy documentation files -generate and install the docbook files for cmake, ctest, cpack, ccmake (cmake-gui not yet ?) Alex
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 7f291c5..83718dd 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -144,6 +144,17 @@ static const char * cmDocumentationOptions[][3] =
"If a file is specified, the documentation is written into and the output "
"format is determined depending on the filename suffix. Supported are man "
"page, HTML, DocBook and plain text."},
+ {"--help-policy cmp [file]",
+ "Print help for a single policy and exit.",
+ "Full documentation specific to the given policy is displayed."
+ "If a file is specified, the documentation is written into and the output "
+ "format is determined depending on the filename suffix. Supported are man "
+ "page, HTML, DocBook and plain text."},
+ {"--help-policies [file]", "Print help for all policies and exit.",
+ "Full documentation for all policies is displayed."
+ "If a file is specified, the documentation is written into and the output "
+ "format is determined depending on the filename suffix. Supported are man "
+ "page, HTML, DocBook and plain text."},
{"--help-property prop [file]",
"Print help for a single property and exit.",
"Full documentation specific to the given property is displayed."