summaryrefslogtreecommitdiff
path: root/src/commands/xrevrange.json
diff options
context:
space:
mode:
authorItamar Haber <itamar@redis.com>2023-03-29 20:48:59 +0300
committerGitHub <noreply@github.com>2023-03-29 20:48:59 +0300
commit0c3b8b7e90ea242640a417abb5c40f30dfc3e036 (patch)
tree6eac70dd7a4feb4b7338d589fd6c221992b96970 /src/commands/xrevrange.json
parentcb1717865804fdb0561e728d2f3a0a1138099d9d (diff)
downloadredis-0c3b8b7e90ea242640a417abb5c40f30dfc3e036.tar.gz
Overhauls command summaries and man pages. (#11942)
This is an attempt to normalize/formalize command summaries. Main actions performed: * Starts with the continuation of the phrase "The XXXX command, when called, ..." for user commands. * Starts with "An internal command...", "A container command...", etc... when applicable. * Always uses periods. * Refrains from referring to other commands. If this is needed, backquotes should be used for command names. * Tries to be very clear about the data type when applicable. * Tries to mention additional effects, e.g. "The key is created if it doesn't exist" and "The set is deleted if the last member is removed." * Prefers being terse over verbose. * Tries to be consistent.
Diffstat (limited to 'src/commands/xrevrange.json')
-rw-r--r--src/commands/xrevrange.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/xrevrange.json b/src/commands/xrevrange.json
index 41798a16c..a0c3e4f3e 100644
--- a/src/commands/xrevrange.json
+++ b/src/commands/xrevrange.json
@@ -1,6 +1,6 @@
{
"XREVRANGE": {
- "summary": "Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE",
+ "summary": "Returns the messages from a stream within a range of IDs in reverse order.",
"complexity": "O(N) with N being the number of elements returned. If N is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1).",
"group": "stream",
"since": "5.0.0",