summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2011-10-12 13:57:22 (GMT)
committerNicolas Despres <nicolas.despres@gmail.com>2011-10-23 20:18:14 (GMT)
commit9ae0604a623edba6f7e9598c66ae77b30adfccd5 (patch)
tree4f1aba5b90d6c8d8723793c94072b55a511bed60 /Source/cmDocumentation.cxx
parent3353d84c14c5421bf4a6a1b013652b1f6c6917df (diff)
downloadCMake-9ae0604a623edba6f7e9598c66ae77b30adfccd5.zip
CMake-9ae0604a623edba6f7e9598c66ae77b30adfccd5.tar.gz
CMake-9ae0604a623edba6f7e9598c66ae77b30adfccd5.tar.bz2
Usage: Document all options printing the version number.
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index ef53d4a..07683d0 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -34,7 +34,8 @@ static const char *cmDocumentationStandardOptions[][3] =
{"--help-man [file]", "Print full help as a UNIX man page and exit.",
"This option is used by the cmake build to generate the UNIX man page. "
"If a file is specified, the help is written into it."},
- {"--version [file]", "Show program name/version banner and exit.",
+ {"--version,-version,/V [file]",
+ "Show program name/version banner and exit.",
"If a file is specified, the version is written into it."},
{0,0,0}
};