Fix JSON description of SET command (#1473)

In the `arguments` section, the `arguments` key is only used for
arguments of type `block` or `oneof`.

Consequently, the `arguments` given for `IFEQ` are ignored by the
server. However, they lead to strange results when rendering the
command's page for the web documentation.

Fix this by removing `arguments` for `IFEQ`.

Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
This commit is contained in:
gmbnomis 2024-12-27 00:55:20 +01:00 committed by GitHub
parent bb325bde35
commit 8b40341295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,14 +111,7 @@
"type": "string",
"token": "IFEQ",
"since": "8.1.0",
"summary": "Sets the key's value only if the current value matches the specified comparison value.",
"arguments": [
{
"name": "comparison-value",
"type": "string",
"summary": "The value to compare with the current key's value before setting."
}
]
"summary": "Sets the key's value only if the current value matches the specified comparison value."
}
]
},