From 22369e5af30caf5ecb6249d9391d63a7171fddfd Mon Sep 17 00:00:00 2001 From: ioib <48433798+ioib@users.noreply.github.com> Date: Wed, 24 Apr 2024 04:10:52 +0800 Subject: [PATCH] Fix DECRBY in raw-string.md (#311) Co-authored-by: Tal Zaccai --- website/docs/commands/raw-string.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/commands/raw-string.md b/website/docs/commands/raw-string.md index 56cac8e890..15f152d616 100644 --- a/website/docs/commands/raw-string.md +++ b/website/docs/commands/raw-string.md @@ -27,7 +27,7 @@ Integer reply: the value of the key after decrementing it. #### Syntax ```bash - DECR key decrement + DECRBY key decrement ``` Decrements the number stored at key by the value of parameter `decrement`. If the key does not exist, it is set to 0 before performing the operation. An error is returned if the key contains a value of the wrong type or contains a string that can not be represented as integer. @@ -243,4 +243,4 @@ Returns the length of the string value stored at **key**. #### Resp Reply -* Integer reply: the length of the string stored at key, or 0 when the key does not exist. \ No newline at end of file +* Integer reply: the length of the string stored at key, or 0 when the key does not exist.