diff options
author | antirez <antirez@gmail.com> | 2016-05-05 17:35:33 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2016-05-05 17:35:51 +0200 |
commit | f01a2714582a9a916b41e6cb90e42474a104925d (patch) | |
tree | edf047b26fcfc5d08ac042ef17b17a407927d86d | |
parent | 1189a4eae6d009fc0da8d50fd542ba1391542165 (diff) | |
download | redis-f01a2714582a9a916b41e6cb90e42474a104925d.tar.gz |
Revert "Fix commandCommand arity"
This reverts commit 1189a4eae6d009fc0da8d50fd542ba1391542165.
Actually this is wrong, the command can be called without args at all.
-rw-r--r-- | src/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c index a5eeb56a5..254c40a9b 100644 --- a/src/server.c +++ b/src/server.c @@ -281,7 +281,7 @@ struct redisCommand redisCommandTable[] = { {"bitcount",bitcountCommand,-2,"r",0,NULL,1,1,1,0,0}, {"bitpos",bitposCommand,-3,"r",0,NULL,1,1,1,0,0}, {"wait",waitCommand,3,"s",0,NULL,0,0,0,0,0}, - {"command",commandCommand,1,"lt",0,NULL,0,0,0,0,0}, + {"command",commandCommand,0,"lt",0,NULL,0,0,0,0,0}, {"geoadd",geoaddCommand,-5,"wm",0,NULL,1,1,1,0,0}, {"georadius",georadiusCommand,-6,"w",0,NULL,1,1,1,0,0}, {"georadiusbymember",georadiusByMemberCommand,-5,"w",0,NULL,1,1,1,0,0}, |