summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-02 15:39:01 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-02 15:39:01 (GMT)
commitb74777fdb21e3632a4adfcd1e15844b632a2765d (patch)
tree4a39d754eaa57a5a9cc8eef01bbddb29a7b03c9e /Source/cmakemain.cxx
parentb94812072a3e6dbcfc00255d46ea445769092d2f (diff)
downloadCMake-b74777fdb21e3632a4adfcd1e15844b632a2765d.zip
CMake-b74777fdb21e3632a4adfcd1e15844b632a2765d.tar.gz
CMake-b74777fdb21e3632a4adfcd1e15844b632a2765d.tar.bz2
Fix the spelling of the flag for warn-unused-vars
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 93b844f..d7ab951 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -122,7 +122,7 @@ 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-all", "Warn about unused variables.",
+ {"--warn-unused-vars", "Warn about unused variables.",
"Find variables that are declared or set, but not used."},
{"--no-warn-unused-cli", "Don't warn about command line options.",
"Don't find variables that are declared on the command line, but not used."},