BUG: Don't use -V as a version option. It conflicts with ctest.

This commit is contained in:
Brad King 2003-08-06 18:43:49 -04:00
parent 9234f45e23
commit 7d6aaf23e9
1 changed files with 0 additions and 1 deletions

View File

@ -293,7 +293,6 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv)
} }
else if((strcmp(argv[i], "--version") == 0) || else if((strcmp(argv[i], "--version") == 0) ||
(strcmp(argv[i], "-version") == 0) || (strcmp(argv[i], "-version") == 0) ||
(strcmp(argv[i], "-V") == 0) ||
(strcmp(argv[i], "/V") == 0)) (strcmp(argv[i], "/V") == 0))
{ {
type = cmDocumentation::Version; type = cmDocumentation::Version;