Correct zrangeGenericCommand comment (#12136)

Fix incorrect documentation about the arguments of ZRANGE commands
This commit is contained in:
tison 2023-05-09 07:13:32 +08:00 committed by GitHub
parent 03d50e0c30
commit 9b53cb28d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.