Merge pull request #5075 from soloestoy/client-list-types

FEATURE: implements client list type option
This commit is contained in:
Salvatore Sanfilippo
2018-06-29 18:00:32 +02:00
committed by GitHub
4 changed files with 21 additions and 6 deletions

View File

@ -1089,7 +1089,7 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
(argc == 2 && !strcasecmp(command,"cluster") &&
(!strcasecmp(argv[1],"nodes") ||
!strcasecmp(argv[1],"info"))) ||
(argc == 2 && !strcasecmp(command,"client") &&
(argc >= 2 && !strcasecmp(command,"client") &&
!strcasecmp(argv[1],"list")) ||
(argc == 3 && !strcasecmp(command,"latency") &&
!strcasecmp(argv[1],"graph")) ||