Keep redis-cli.c C89 compatible

Former-commit-id: 9798f2d711939b03e972207638d18dcaa3b2e473
This commit is contained in:
John Sully 2020-09-30 20:17:51 +00:00
parent 5fd3c39c05
commit 13d472b160

View File

@ -1442,7 +1442,7 @@ static int parseOptions(int argc, char **argv) {
sdsfree(version);
exit(0);
} else if (!strcmp(argv[i],"--no-motd")) {
config.disable_motd = true;
config.disable_motd = 1;
} else if (!strcmp(argv[i],"-3")) {
config.resp3 = 1;
} else if (CLUSTER_MANAGER_MODE() && argv[i][0] != '-') {