From c51971a98d1f307b5a66a436ddb5d0ae6b7b93ad Mon Sep 17 00:00:00 2001 From: ynborokh Date: Fri, 31 Oct 2025 17:48:58 +0200 Subject: [PATCH] Document 'Increment' command in README Add documentation for the 'Increment' command and its parameters. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ca5aa15..182eb23 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,17 @@ ems-cmd forget http://10.20.30.40:6330 -space Default -key path1\path2\abc * `-space`: The name of the space, e.g., `Default`. * `-key`: The key for the shared memory record. +#### 'Increment' (increment shared memory value) +This command increments a shared memory record. + +``` +ems-cmd increment http://10.20.30.40:6330 -space Default -key path1\path2\abc -by 2 +``` +###### Parameters +* `-space`: The name of the space, e.g., `Default`. +* `-key`: The key for the shared memory record. If a value with this key does not exist, the command fails. +* `-by`: The increment value. Must be a decimal number (negative and fractional are allowed). If omitted, equals to 1. + ### SSL errors If you want to suppress SSL errors, use the additional parameter `/suppress-ssl-errors`. ```