]> git.saurik.com Git - redis.git/blobdiff - redis-cli.c
added tests for vararg DEL
[redis.git] / redis-cli.c
index e4ef342fdd78dd4c74d0a26a9f0bfc81b6860923..524157cd60911c4e565bb36b0a36a8980eee5f06 100644 (file)
@@ -60,7 +60,7 @@ static struct redisCommand cmdTable[] = {
     {"get",2,REDIS_CMD_INLINE},
     {"set",3,REDIS_CMD_BULK},
     {"setnx",3,REDIS_CMD_BULK},
-    {"del",2,REDIS_CMD_INLINE},
+    {"del",-2,REDIS_CMD_INLINE},
     {"exists",2,REDIS_CMD_INLINE},
     {"incr",2,REDIS_CMD_INLINE},
     {"decr",2,REDIS_CMD_INLINE},