Skip to content

Commit

Permalink
Merge pull request #2613 from moznion/nil_resp_for_object_freq
Browse files Browse the repository at this point in the history
Revise the response description of `OBJECT FREQ` command
  • Loading branch information
dwdougherty authored Nov 30, 2023
2 parents 6a53fb7 + 5b4c923 commit 138dc71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion resp2_replies.json
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,9 @@
"* [Bulk string reply](/docs/reference/protocol-spec#bulk-strings): the encoding of the object."
],
"OBJECT FREQ": [
"[Integer reply](/docs/reference/protocol-spec#integers): the counter's value."
"One of the following:",
"[Integer reply](/docs/reference/protocol-spec#integers): the counter's value.",
"[Nil reply](/docs/reference/protocol-spec#bulk-strings): if _key_ doesn't exist."
],
"OBJECT HELP": [
"[Array reply](/docs/reference/protocol-spec#arrays): a list of sub-commands and their descriptions"
Expand Down
4 changes: 3 additions & 1 deletion resp3_replies.json
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,9 @@
"* [Bulk string reply](/docs/reference/protocol-spec#bulk-strings): the encoding of the object."
],
"OBJECT FREQ": [
"[Integer reply](/docs/reference/protocol-spec#integers): the counter's value."
"One of the following:",
"[Integer reply](/docs/reference/protocol-spec#integers): the counter's value.",
"[Null reply](/docs/reference/protocol-spec#nulls): if _key_ doesn't exist."
],
"OBJECT HELP": [
"[Array reply](/docs/reference/protocol-spec#arrays): a list of sub-commands and their descriptions."
Expand Down

0 comments on commit 138dc71

Please sign in to comment.