]> git.saurik.com Git - redis.git/blobdiff - redis-cli.c
strip tryObjectEncoding from hashSet, to enable the arguments being encoded in-place
[redis.git] / redis-cli.c
index 5760da15a803b548ab25621cace86861daa7500f..b34c42773364b0e868a068c544f7cbc610bbea09 100644 (file)
@@ -150,8 +150,10 @@ static struct redisCommand cmdTable[] = {
     {"exec",1,REDIS_CMD_INLINE},
     {"discard",1,REDIS_CMD_INLINE},
     {"hset",4,REDIS_CMD_MULTIBULK},
-    {"hincrby",4,REDIS_CMD_INLINE},
     {"hget",3,REDIS_CMD_BULK},
+    {"hmset",-4,REDIS_CMD_MULTIBULK},
+    {"hmget",-3,REDIS_CMD_MULTIBULK},
+    {"hincrby",4,REDIS_CMD_INLINE},
     {"hdel",3,REDIS_CMD_BULK},
     {"hlen",2,REDIS_CMD_INLINE},
     {"hkeys",2,REDIS_CMD_INLINE},