diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-02 15:38:00 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-02 15:38:00 (GMT) |
commit | b94812072a3e6dbcfc00255d46ea445769092d2f (patch) | |
tree | b853a565e4d94a230c4435cb00da7807146c584a /Source/cmakemain.cxx | |
parent | f047a17c5910cec1c0b9c20acb74510747ce6ba1 (diff) | |
download | CMake-b94812072a3e6dbcfc00255d46ea445769092d2f.zip CMake-b94812072a3e6dbcfc00255d46ea445769092d2f.tar.gz CMake-b94812072a3e6dbcfc00255d46ea445769092d2f.tar.bz2 |
Change logic of flag to turn off cli unused checks
Since we default to checking unused cli variables, make the flag turn
off the checks.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index cb3fcb0..93b844f 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -124,8 +124,8 @@ static const char * cmDocumentationOptions[][3] = "Print a warning when an uninitialized variable is used."}, {"--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."}, + {"--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."}, {"--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 " |