]> git.saurik.com Git - redis.git/blobdiff - redis-cli.c
added ZREVRANK
[redis.git] / redis-cli.c
index bbcac0c5b1baa5e96d04d1f69cf369982d1a6fa4..807f676d11af9ff2b7b7afbfa41a4a2e031c2226 100644 (file)
@@ -141,8 +141,10 @@ 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},
     {NULL,0,0}
 };