Change the warning message a little bit to avoid trademark issuses.

This commit is contained in:
dejun.xdj 2018-05-18 11:37:31 +08:00 committed by antirez
parent d71c49610b
commit 5bed12aa03

View File

@ -1088,7 +1088,7 @@ static int parseOptions(int argc, char **argv) {
} else if (!strcmp(argv[i],"-n") && !lastarg) {
config.dbnum = atoi(argv[++i]);
} else if (!strcmp(argv[i],"-a") && !lastarg) {
fputs("Warning: Using a password on the command line interface can be insecure.\n", stderr);
fputs("Warning: Using a password with '-a' option on the command line interface may not be safe.\n", stderr);
config.auth = argv[++i];
} else if (!strcmp(argv[i],"-u") && !lastarg) {
parseRedisUri(argv[++i]);