ENH: case insensitive command help
This commit is contained in:
parent
1f5f2ce85f
commit
0cae876867
|
@ -434,6 +434,7 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv)
|
||||||
if((i+1 < argc) && !this->IsOption(argv[i+1]))
|
if((i+1 < argc) && !this->IsOption(argv[i+1]))
|
||||||
{
|
{
|
||||||
this->SingleCommand = argv[i+1];
|
this->SingleCommand = argv[i+1];
|
||||||
|
this->SingleCommand = cmSystemTools::UpperCase(this->SingleCommand);
|
||||||
i = i+1;
|
i = i+1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue