summaryrefslogtreecommitdiff
path: root/src/commands/blmpop.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/blmpop.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/blmpop.json')
-rw-r--r--src/commands/blmpop.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/blmpop.json b/src/commands/blmpop.json
index 419eb3e6f..48bfa3e89 100644
--- a/src/commands/blmpop.json
+++ b/src/commands/blmpop.json
@@ -1,6 +1,6 @@
{
"BLMPOP": {
- "summary": "Pop elements from a list, or block until one is available",
+ "summary": "Pops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped.",
"complexity": "O(N+M) where N is the number of provided keys and M is the number of elements returned.",
"group": "list",
"since": "7.0.0",