BUG: Don't use -V as a version option. It conflicts with ctest.
This commit is contained in:
parent
9234f45e23
commit
7d6aaf23e9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue