redis-cli: "allocator-stats" -> "malloc-stats".

It was changed in Redis but not in redis-cli.
Thanks to @oranagra for signaling.
This commit is contained in:
antirez 2016-09-19 09:47:35 +02:00
parent 4263b12147
commit b13759e90a

View File

@ -845,7 +845,7 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
(argc >= 2 && !strcasecmp(command,"debug") &&
!strcasecmp(argv[1],"htstats")) ||
(argc >= 2 && !strcasecmp(command,"memory") &&
(!strcasecmp(argv[1],"allocator-stats") ||
(!strcasecmp(argv[1],"malloc-stats") ||
!strcasecmp(argv[1],"doctor"))) ||
(argc == 2 && !strcasecmp(command,"cluster") &&
(!strcasecmp(argv[1],"nodes") ||