From 2f0a3d43e15c2429d6d2b75d0892985b1e8302c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 30 Mar 2022 00:54:43 +0000 Subject: Help: Fix string(JSON ... LENGTH ...) signature The list of indices and/or member names is optional, i.e., can be empty. For example, string(JSON foo LENGTH "[0,0,0]") sets foo to 3. --- Help/command/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [ERROR_VARIABLE ] - LENGTH [ ...]) + LENGTH [ ...]) Get the length of an element in ```` at the location given by the list of ```` arguments. -- cgit v0.12