]> git.saurik.com Git - redis.git/commitdiff
zrevrank support in redis-cli
authorantirez <antirez@gmail.com>
Tue, 16 Mar 2010 15:20:35 +0000 (16:20 +0100)
committerantirez <antirez@gmail.com>
Tue, 16 Mar 2010 15:20:35 +0000 (16:20 +0100)
redis-cli.c

index d2273db0e48ba7f979c3c49e37d09d666aa1de94..03755efaca89a7af35d239c21bd539ad288496ae 100644 (file)
@@ -105,6 +105,7 @@ static struct redisCommand cmdTable[] = {
     {"zmergeweighed",-4,REDIS_CMD_INLINE},
     {"zrange",-4,REDIS_CMD_INLINE},
     {"zrank",3,REDIS_CMD_BULK},
+    {"zrevrank",3,REDIS_CMD_BULK},
     {"zrangebyscore",-4,REDIS_CMD_INLINE},
     {"zcount",4,REDIS_CMD_INLINE},
     {"zrevrange",-4,REDIS_CMD_INLINE},