]> git.saurik.com Git - redis.git/blobdiff - redis-cli.c
added dictFetchValue() to dict.c to make hash table API a bit less verbose in the...
[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},