summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-31 12:47:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-31 12:48:17 (GMT)
commit816151c118516e7f39357a3656b496e4b4884fc5 (patch)
treefd7a203403dc62784b012a9e8347ae22cf729adb
parente5cda4c7725d39c0d083778e9708daf967f7824d (diff)
parent2f0a3d43e15c2429d6d2b75d0892985b1e8302c0 (diff)
downloadCMake-816151c118516e7f39357a3656b496e4b4884fc5.zip
CMake-816151c118516e7f39357a3656b496e4b4884fc5.tar.gz
CMake-816151c118516e7f39357a3656b496e4b4884fc5.tar.bz2
Merge topic 'help-json-length-empty-index' into release-3.23
2f0a3d43e1 Help: Fix string(JSON ... LENGTH ...) signature Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7126
-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 9b707eb..b1ca2cb 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -612,7 +612,7 @@ Requires an element of object type.
.. code-block:: cmake
string(JSON <out-var> [ERROR_VARIABLE <error-variable>]
- LENGTH <json-string> <member|index> [<member|index> ...])
+ LENGTH <json-string> [<member|index> ...])
Get the length of an element in ``<json-string>`` at the location
given by the list of ``<member|index>`` arguments.