summaryrefslogtreecommitdiff
path: root/Source/cmStringCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-10 11:47:43 -0400
committerKen Martin <ken.martin@kitware.com>2007-10-10 11:47:43 -0400
commit8d32d229a3b77f7cb0dd708c6a492fa33797b9f0 (patch)
tree616c727c9b0609549374c223079b367172bffeff /Source/cmStringCommand.h
parent8e4c7b99e1b73c641308c0177673dac33fe57df1 (diff)
downloadcmake-8d32d229a3b77f7cb0dd708c6a492fa33797b9f0.tar.gz
ENH: make commands lower case by default
Diffstat (limited to 'Source/cmStringCommand.h')
-rw-r--r--Source/cmStringCommand.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index 78ddcea73f..6a415d4c59 100644
--- a/Source/cmStringCommand.h
+++ b/Source/cmStringCommand.h
@@ -54,7 +54,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() { return "STRING";}
+ virtual const char* GetName() { return "string";}
/**
* Succinct documentation.
@@ -70,29 +70,29 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " STRING(REGEX MATCH <regular_expression>\n"
+ " string(REGEX MATCH <regular_expression>\n"
" <output variable> <input> [<input>...])\n"
- " STRING(REGEX MATCHALL <regular_expression>\n"
+ " string(REGEX MATCHALL <regular_expression>\n"
" <output variable> <input> [<input>...])\n"
- " STRING(REGEX REPLACE <regular_expression>\n"
+ " string(REGEX REPLACE <regular_expression>\n"
" <replace_expression> <output variable>\n"
" <input> [<input>...])\n"
- " STRING(REPLACE <match_string>\n"
+ " string(REPLACE <match_string>\n"
" <replace_string> <output variable>\n"
" <input> [<input>...])\n"
- " STRING(COMPARE EQUAL <string1> <string2> <output variable>)\n"
- " STRING(COMPARE NOTEQUAL <string1> <string2> <output variable>)\n"
- " STRING(COMPARE LESS <string1> <string2> <output variable>)\n"
- " STRING(COMPARE GREATER <string1> <string2> <output variable>)\n"
- " STRING(ASCII <number> [<number> ...] <output variable>)\n"
- " STRING(CONFIGURE <string1> <output variable>\n"
+ " string(COMPARE EQUAL <string1> <string2> <output variable>)\n"
+ " string(COMPARE NOTEQUAL <string1> <string2> <output variable>)\n"
+ " string(COMPARE LESS <string1> <string2> <output variable>)\n"
+ " string(COMPARE GREATER <string1> <string2> <output variable>)\n"
+ " string(ASCII <number> [<number> ...] <output variable>)\n"
+ " string(CONFIGURE <string1> <output variable>\n"
" [@ONLY] [ESCAPE_QUOTES])\n"
- " STRING(TOUPPER <string1> <output variable>)\n"
- " STRING(TOLOWER <string1> <output variable>)\n"
- " STRING(LENGTH <string> <output variable>)\n"
- " STRING(SUBSTRING <string> <begin> <length> <output variable>)\n"
- " STRING(STRIP <string> <output variable>)\n"
- " STRING(RANDOM [LENGTH <length>] [ALPHABET <alphabet>]\n"
+ " string(TOUPPER <string1> <output variable>)\n"
+ " string(TOLOWER <string1> <output variable>)\n"
+ " string(LENGTH <string> <output variable>)\n"
+ " string(SUBSTRING <string> <begin> <length> <output variable>)\n"
+ " string(STRIP <string> <output variable>)\n"
+ " string(RANDOM [LENGTH <length>] [ALPHABET <alphabet>]\n"
" <output variable>)\n"
"REGEX MATCH will match the regular expression once and store the "
"match in the output variable.\n"