summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-12-30 13:19:26 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-03 19:14:18 (GMT)
commit9702a01dc92b98311107f0dad46a2bc016ab31c4 (patch)
treef189e3ba8d423577348d72e205629fb3deb9a205 /Help
parentc4f7eb3f0b39ed679296b01158195afc677a0df9 (diff)
downloadCMake-9702a01dc92b98311107f0dad46a2bc016ab31c4.zip
CMake-9702a01dc92b98311107f0dad46a2bc016ab31c4.tar.gz
CMake-9702a01dc92b98311107f0dad46a2bc016ab31c4.tar.bz2
Help: string(LENGTH): Fix synopsis link to command description
Make the link target explicit to avoid ambiguity with `JSON LENGTH`. Fixes: #25546
Diffstat (limited to 'Help')
-rw-r--r--Help/command/string.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index 0e69b27..2f01653 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -22,7 +22,7 @@ Synopsis
string(`JOIN`_ <glue> <out-var> [<input>...])
string(`TOLOWER`_ <string> <out-var>)
string(`TOUPPER`_ <string> <out-var>)
- string(`LENGTH`_ <string> <out-var>)
+ string(`LENGTH <LENGTH_>`_ <string> <out-var>)
string(`SUBSTRING`_ <string> <begin> <length> <out-var>)
string(`STRIP`_ <string> <out-var>)
string(`GENEX_STRIP`_ <string> <out-var>)