diff options
author | Itamar Haber <itamar@redis.com> | 2023-03-29 20:48:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 20:48:59 +0300 |
commit | 0c3b8b7e90ea242640a417abb5c40f30dfc3e036 (patch) | |
tree | 6eac70dd7a4feb4b7338d589fd6c221992b96970 /src/commands/zremrangebyscore.json | |
parent | cb1717865804fdb0561e728d2f3a0a1138099d9d (diff) | |
download | redis-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/zremrangebyscore.json')
-rw-r--r-- | src/commands/zremrangebyscore.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/zremrangebyscore.json b/src/commands/zremrangebyscore.json index d5ca40c42..aed5d1bba 100644 --- a/src/commands/zremrangebyscore.json +++ b/src/commands/zremrangebyscore.json @@ -1,6 +1,6 @@ { "ZREMRANGEBYSCORE": { - "summary": "Remove all members in a sorted set within the given scores", + "summary": "Removes members in a sorted set within a range of scores. Deletes the sorted set if all members were removed.", "complexity": "O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation.", "group": "sorted_set", "since": "1.2.0", |