summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorJuho Kim <juho-kim@outlook.com>2023-04-20 04:50:28 -0400
committerGitHub <noreply@github.com>2023-04-20 11:50:28 +0300
commit2f46e96d44341669df0c9872b8082fccfed148d3 (patch)
treed7930af21340523d91e42359598a6d64b300e7d3 /src/commands
parent74959a0f73a44cfe56d5fb95957021c55b0ae214 (diff)
downloadredis-2f46e96d44341669df0c9872b8082fccfed148d3.tar.gz
Fix typos (#12076)
"lst" to "last" in commands help
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/rpop.json2
-rw-r--r--src/commands/rpoplpush.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/rpop.json b/src/commands/rpop.json
index 4eabdf5ea..79b5a9254 100644
--- a/src/commands/rpop.json
+++ b/src/commands/rpop.json
@@ -1,6 +1,6 @@
{
"RPOP": {
- "summary": "Returns and removes the last elements of a list. Deletes the list if the lst element was popped.",
+ "summary": "Returns and removes the last elements of a list. Deletes the list if the last element was popped.",
"complexity": "O(N) where N is the number of elements returned",
"group": "list",
"since": "1.0.0",
diff --git a/src/commands/rpoplpush.json b/src/commands/rpoplpush.json
index 755224194..195149956 100644
--- a/src/commands/rpoplpush.json
+++ b/src/commands/rpoplpush.json
@@ -1,6 +1,6 @@
{
"RPOPLPUSH": {
- "summary": "Returns the last element of a list after removing and pushing it to another list. Deletes the list if the lst element was popped.",
+ "summary": "Returns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.",
"complexity": "O(1)",
"group": "list",
"since": "1.2.0",