X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d239ec5960350367a990ff04452924d06e8ee94b..2069d06a0bb88acf17153e2ece1ffb857d11645d:/redis-cli.c diff --git a/redis-cli.c b/redis-cli.c index bbcac0c5..03755efa 100644 --- a/redis-cli.c +++ b/redis-cli.c @@ -101,8 +101,11 @@ static struct redisCommand cmdTable[] = { {"zincrby",4,REDIS_CMD_BULK}, {"zrem",3,REDIS_CMD_BULK}, {"zremrangebyscore",4,REDIS_CMD_INLINE}, + {"zmerge",-3,REDIS_CMD_INLINE}, + {"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}, @@ -141,8 +144,15 @@ static struct redisCommand cmdTable[] = { {"msetnx",-3,REDIS_CMD_MULTIBULK}, {"monitor",1,REDIS_CMD_INLINE}, {"multi",1,REDIS_CMD_INLINE}, - {"exec",1,REDIS_CMD_MULTIBULK}, + {"exec",1,REDIS_CMD_INLINE}, {"discard",1,REDIS_CMD_INLINE}, + {"hset",4,REDIS_CMD_MULTIBULK}, + {"hget",3,REDIS_CMD_BULK}, + {"hdel",3,REDIS_CMD_BULK}, + {"hlen",2,REDIS_CMD_INLINE}, + {"hkeys",2,REDIS_CMD_INLINE}, + {"hvals",2,REDIS_CMD_INLINE}, + {"hgetall",2,REDIS_CMD_INLINE}, {NULL,0,0} };