summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-23 17:42:49 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-15 14:46:54 (GMT)
commit6e68bc22733817783117b20efb8bf0169e9e98c7 (patch)
tree8f3415e6b4caadeafd5ce7594818a5a7d1194829 /Source/cmakemain.cxx
parentc9a5f34bd7d35ebf8a4a326481ce22e809de8e4c (diff)
downloadCMake-6e68bc22733817783117b20efb8bf0169e9e98c7.zip
CMake-6e68bc22733817783117b20efb8bf0169e9e98c7.tar.gz
CMake-6e68bc22733817783117b20efb8bf0169e9e98c7.tar.bz2
cmake: Add --help-policy-list option
All the other --help-<item> options have a corresponding option --help-<item>-list. Add one for --help-policy.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 73c76e4..a9fc15f 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -195,6 +195,12 @@ 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-list [file]", "List available policies and exit.",
+ "The list contains all policies for which help may be obtained by using "
+ "the --help-policy argument followed by a policy name. "
+ "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 "