X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/83c6a61889f167d7c29c88069ada887f038985fd..38aba9a12124bc57567a452b1a371bf0bedd5b6e:/redis-cli.c diff --git a/redis-cli.c b/redis-cli.c index 32e77e4c..a082a9bb 100644 --- a/redis-cli.c +++ b/redis-cli.c @@ -71,6 +71,8 @@ static struct redisCommand cmdTable[] = { {"lpush",3,REDIS_CMD_BULK}, {"rpop",2,REDIS_CMD_INLINE}, {"lpop",2,REDIS_CMD_INLINE}, + {"brpop",-3,REDIS_CMD_INLINE}, + {"blpop",-3,REDIS_CMD_INLINE}, {"llen",2,REDIS_CMD_INLINE}, {"lindex",3,REDIS_CMD_INLINE}, {"lset",4,REDIS_CMD_BULK}, @@ -96,9 +98,9 @@ static struct redisCommand cmdTable[] = { {"zincrby",4,REDIS_CMD_BULK}, {"zrem",3,REDIS_CMD_BULK}, {"zremrangebyscore",4,REDIS_CMD_INLINE}, - {"zrange",4,REDIS_CMD_INLINE}, + {"zrange",-4,REDIS_CMD_INLINE}, {"zrangebyscore",-4,REDIS_CMD_INLINE}, - {"zrevrange",4,REDIS_CMD_INLINE}, + {"zrevrange",-4,REDIS_CMD_INLINE}, {"zcard",2,REDIS_CMD_INLINE}, {"zscore",3,REDIS_CMD_BULK}, {"incrby",3,REDIS_CMD_INLINE},