Commit 53377f8c authored by antirez's avatar antirez
Browse files

COMMANDS command renamed COMMAND.

parent f3efd529
...@@ -264,7 +264,7 @@ struct redisCommand redisCommandTable[] = { ...@@ -264,7 +264,7 @@ struct redisCommand redisCommandTable[] = {
{"bitop",bitopCommand,-4,"wm",0,NULL,2,-1,1,0,0}, {"bitop",bitopCommand,-4,"wm",0,NULL,2,-1,1,0,0},
{"bitcount",bitcountCommand,-2,"r",0,NULL,1,1,1,0,0}, {"bitcount",bitcountCommand,-2,"r",0,NULL,1,1,1,0,0},
{"bitpos",bitposCommand,-3,"r",0,NULL,1,1,1,0,0}, {"bitpos",bitposCommand,-3,"r",0,NULL,1,1,1,0,0},
{"commands",commandsCommand,0,"rlt",0,NULL,0,0,0,0,0}, {"command",commandCommand,0,"rlt",0,NULL,0,0,0,0,0},
{"pfselftest",pfselftestCommand,1,"r",0,NULL,0,0,0,0,0}, {"pfselftest",pfselftestCommand,1,"r",0,NULL,0,0,0,0,0},
{"pfadd",pfaddCommand,-2,"wm",0,NULL,1,1,1,0,0}, {"pfadd",pfaddCommand,-2,"wm",0,NULL,1,1,1,0,0},
{"pfcount",pfcountCommand,-2,"w",0,NULL,1,1,1,0,0}, {"pfcount",pfcountCommand,-2,"w",0,NULL,1,1,1,0,0},
...@@ -2310,7 +2310,7 @@ void addReplyCommand(redisClient *c, struct redisCommand *cmd) { ...@@ -2310,7 +2310,7 @@ void addReplyCommand(redisClient *c, struct redisCommand *cmd) {
} }
} }
void commandsCommand(redisClient *c) { void commandCommand(redisClient *c) {
dictIterator *di; dictIterator *di;
dictEntry *de; dictEntry *de;
......
...@@ -1232,7 +1232,7 @@ uint64_t redisBuildId(void); ...@@ -1232,7 +1232,7 @@ uint64_t redisBuildId(void);
void authCommand(redisClient *c); void authCommand(redisClient *c);
void pingCommand(redisClient *c); void pingCommand(redisClient *c);
void echoCommand(redisClient *c); void echoCommand(redisClient *c);
void commandsCommand(redisClient *c); void commandCommand(redisClient *c);
void setCommand(redisClient *c); void setCommand(redisClient *c);
void setnxCommand(redisClient *c); void setnxCommand(redisClient *c);
void setexCommand(redisClient *c); void setexCommand(redisClient *c);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment