summaryrefslogtreecommitdiffstats
path: root/Help
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:18 (GMT)
commit025b86cc17a45378b9d07bdce6a135beecf6a426 (patch)
tree4bd80a3793471275bc9b3eeccd48503782ce4a74 /Help
parent27a1002ee8ea0a122b969feec624ec7dbc67a890 (diff)
parent2f0a3d43e15c2429d6d2b75d0892985b1e8302c0 (diff)
downloadCMake-025b86cc17a45378b9d07bdce6a135beecf6a426.zip
CMake-025b86cc17a45378b9d07bdce6a135beecf6a426.tar.gz
CMake-025b86cc17a45378b9d07bdce6a135beecf6a426.tar.bz2
Merge topic 'help-json-length-empty-index'
2f0a3d43e1 Help: Fix string(JSON ... LENGTH ...) signature Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7126
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 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.