summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-08-25 16:35:40 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:08:14 (GMT)
commitd7999e9b294f93f68b5ec9e3efd8017fad3f05d9 (patch)
treed705db14b00d2b6a22a8335aff2511ed95764489 /Source/cmakemain.cxx
parente141bc950a1970c6bc96fa5f55fd60c6aedbb2d0 (diff)
downloadCMake-d7999e9b294f93f68b5ec9e3efd8017fad3f05d9.zip
CMake-d7999e9b294f93f68b5ec9e3efd8017fad3f05d9.tar.gz
CMake-d7999e9b294f93f68b5ec9e3efd8017fad3f05d9.tar.bz2
Rename strict-mode to warn-uninitialized
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 235aaf5..af92200 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -120,9 +120,8 @@ static const char * cmDocumentationOptions[][3] =
{"--trace", "Put cmake in trace mode.",
"Print a trace of all calls made and from where with "
"message(send_error ) calls."},
- {"--strict-mode", "Put cmake in strict mode.",
- "In strict mode cmake will print a warning when an uninitialized variable "
- "is used."},
+ {"--warn-uninitialized", "Warn about uninitialized values.",
+ "Print a warning when an uninitialized variable is used."},
{"--find-unused", "Find unused variables.",
"Find variables that are declared on the command line, but not used."},
{"--find-unused-all", "Find all unused variables.",