summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortison <wander4096@gmail.com>2023-05-09 07:13:32 +0800
committerGitHub <noreply@github.com>2023-05-08 16:13:32 -0700
commit9b53cb28d6a100ec5a389e69a83f89165159d0c3 (patch)
treee8e2768cd1d9ef783bede2d2bdc41d04c33b43dd
parent03d50e0c307512c55382d3c0da7cf10d8adc71d3 (diff)
downloadredis-9b53cb28d6a100ec5a389e69a83f89165159d0c3.tar.gz
Correct zrangeGenericCommand comment (#12136)
Fix incorrect documentation about the arguments of ZRANGE commands
-rw-r--r--src/t_zset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_zset.c b/src/t_zset.c
index c78969caf..86d241883 100644
--- a/src/t_zset.c
+++ b/src/t_zset.c
@@ -3563,7 +3563,7 @@ void zrevrangebylexCommand(client *c) {
/**
* This function handles ZRANGE and ZRANGESTORE, and also the deprecated
- * Z[REV]RANGE[BYPOS|BYLEX] commands.
+ * Z[REV]RANGE[BYSCORE|BYLEX] commands.
*
* The simple ZRANGE and ZRANGESTORE can take _AUTO in rangetype and direction,
* other command pass explicit value.