Commit 3364b2d1 authored by antirez's avatar antirez
Browse files

COMMANDS command renamed COMMAND.

parent 0aab8eb1
...@@ -273,7 +273,7 @@ struct redisCommand redisCommandTable[] = { ...@@ -273,7 +273,7 @@ struct redisCommand redisCommandTable[] = {
{"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},
{"wait",waitCommand,3,"rs",0,NULL,0,0,0,0,0}, {"wait",waitCommand,3,"rs",0,NULL,0,0,0,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},
...@@ -2446,7 +2446,7 @@ void addReplyCommand(redisClient *c, struct redisCommand *cmd) { ...@@ -2446,7 +2446,7 @@ void addReplyCommand(redisClient *c, struct redisCommand *cmd) {
} }
} }
void commandsCommand(redisClient *c) { void commandCommand(redisClient *c) {
dictIterator *di; dictIterator *di;
dictEntry *de; dictEntry *de;
......
...@@ -1327,7 +1327,7 @@ uint64_t redisBuildId(void); ...@@ -1327,7 +1327,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