summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.h
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2011-02-03 20:10:28 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-05-27 20:25:08 (GMT)
commitecdad65a4541db353bd498be7d7090b5ed059ebc (patch)
tree6baef5f3d15311f94f75a346685215ee632fe4da /Source/cmStringCommand.h
parentba6579f7a3a687a42572f683441f56cbc70ae928 (diff)
downloadCMake-ecdad65a4541db353bd498be7d7090b5ed059ebc.zip
CMake-ecdad65a4541db353bd498be7d7090b5ed059ebc.tar.gz
CMake-ecdad65a4541db353bd498be7d7090b5ed059ebc.tar.bz2
CMake: Update documentation of STRING(SUBSTRING) for length -1 (#10740)
Diffstat (limited to 'Source/cmStringCommand.h')
-rw-r--r--Source/cmStringCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index 9586449..52b83d9 100644
--- a/Source/cmStringCommand.h
+++ b/Source/cmStringCommand.h
@@ -110,7 +110,8 @@ public:
"a file.\n"
"TOUPPER/TOLOWER will convert string to upper/lower characters.\n"
"LENGTH will return a given string's length.\n"
- "SUBSTRING will return a substring of a given string.\n"
+ "SUBSTRING will return a substring of a given string. If length is "
+ "-1 the remainder of the string starting at begin will be returned.\n"
"STRIP will return a substring of a given string with leading "
"and trailing spaces removed.\n"
"RANDOM will return a random string of given length consisting of "