summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-10 15:47:43 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-10 15:47:43 (GMT)
commit8d32d229a3b77f7cb0dd708c6a492fa33797b9f0 (patch)
tree616c727c9b0609549374c223079b367172bffeff /Source/cmDocumentation.cxx
parent8e4c7b99e1b73c641308c0177673dac33fe57df1 (diff)
downloadCMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.zip
CMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.tar.gz
CMake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.tar.bz2
ENH: make commands lower case by default
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 6c54254..a521cc7 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -696,7 +696,7 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv)
help.HelpType = cmDocumentation::Usage;
help.HelpForm = cmDocumentation::UsageForm;
GET_OPT_ARGUMENT(help.Argument);
- help.Argument = cmSystemTools::UpperCase(help.Argument);
+ help.Argument = cmSystemTools::LowerCase(help.Argument);
// special case for single command
if (!help.Argument.empty())
{
@@ -756,7 +756,7 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv)
help.HelpType = cmDocumentation::Single;
GET_OPT_ARGUMENT(help.Argument);
GET_OPT_ARGUMENT(help.Filename);
- help.Argument = cmSystemTools::UpperCase(help.Argument);
+ help.Argument = cmSystemTools::LowerCase(help.Argument);
help.HelpForm = this->GetFormFromFilename(help.Filename);
}
else if(strcmp(argv[i], "--help-module") == 0)