From 9b53cb28d6a100ec5a389e69a83f89165159d0c3 Mon Sep 17 00:00:00 2001 From: tison Date: Tue, 9 May 2023 07:13:32 +0800 Subject: [PATCH] Correct zrangeGenericCommand comment (#12136) Fix incorrect documentation about the arguments of ZRANGE commands --- src/t_zset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.