diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-02 15:39:22 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-02 15:39:22 (GMT) |
commit | 4cf17062d36ecb87314afbfc0bed4545c8711eeb (patch) | |
tree | 7955702496649f6478f30dca109b6295fef01721 /Source/cmakemain.cxx | |
parent | b74777fdb21e3632a4adfcd1e15844b632a2765d (diff) | |
download | CMake-4cf17062d36ecb87314afbfc0bed4545c8711eeb.zip CMake-4cf17062d36ecb87314afbfc0bed4545c8711eeb.tar.gz CMake-4cf17062d36ecb87314afbfc0bed4545c8711eeb.tar.bz2 |
Add documentation for check-system-vars
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index d7ab951..aa455a0 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -126,6 +126,9 @@ static const char * cmDocumentationOptions[][3] = "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."}, + {"--check-system-vars", "Find problems with variable usage in system files.", + "Normally, unused and uninitialized variables are searched for only in CMAKE_SOURCE_DIR " + "and CMAKE_BINARY_DIR. This flag tells CMake to warn about other files as well."}, {"--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 " |