summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-01 14:22:08 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:09:08 (GMT)
commitfff9f6d6f74aa92d0bc4adf3a80a25b1b662458d (patch)
treecd9736d600c9a8606ed40493c33c825a1d0f3f30 /Source/cmakemain.cxx
parent786e2695cb68402d44357002b438c95229c4fb19 (diff)
downloadCMake-fff9f6d6f74aa92d0bc4adf3a80a25b1b662458d.zip
CMake-fff9f6d6f74aa92d0bc4adf3a80a25b1b662458d.tar.gz
CMake-fff9f6d6f74aa92d0bc4adf3a80a25b1b662458d.tar.bz2
Rename flags again and use variablewatch for cli
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 8d4c334..cb3fcb0 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -122,10 +122,10 @@ static const char * cmDocumentationOptions[][3] =
"message(send_error ) calls."},
{"--warn-uninitialized", "Warn about uninitialized values.",
"Print a warning when an uninitialized variable is used."},
- {"--warn-unused", "Warn about unused variables.",
+ {"--warn-unused-all", "Warn about unused variables.",
+ "Find variables that are declared or set, but not used."},
+ {"--warn-unused-cli", "Warn about command line options.",
"Find variables that are declared on the command line, but not used."},
- {"--warn-unused-all", "Warn about all unused variables.",
- "Find variables that are declared, but not used."},
{"--help-command cmd [file]", "Print help for a single command and exit.",
"Full documentation specific to the given command is displayed. "
"If a file is specified, the documentation is written into and the output "