Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5bed12aa
Commit
5bed12aa
authored
May 18, 2018
by
dejun.xdj
Committed by
antirez
May 29, 2018
Browse files
Change the warning message a little bit to avoid trademark issuses.
parent
d71c4961
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
5bed12aa
...
@@ -1088,7 +1088,7 @@ static int parseOptions(int argc, char **argv) {
...
@@ -1088,7 +1088,7 @@ static int parseOptions(int argc, char **argv) {
} else if (!strcmp(argv[i],"-n") && !lastarg) {
} else if (!strcmp(argv[i],"-n") && !lastarg) {
config.dbnum = atoi(argv[++i]);
config.dbnum = atoi(argv[++i]);
} else if (!strcmp(argv[i],"-a") && !lastarg) {
} else if (!strcmp(argv[i],"-a") && !lastarg) {
fputs
(
"Warning: Using a password on the command line interface
can be insecur
e.
\n
"
,
stderr
);
fputs("Warning: Using a password
with '-a' option
on the command line interface
may not be saf
e.\n", stderr);
config.auth = argv[++i];
config.auth = argv[++i];
} else if (!strcmp(argv[i],"-u") && !lastarg) {
} else if (!strcmp(argv[i],"-u") && !lastarg) {
parseRedisUri(argv[++i]);
parseRedisUri(argv[++i]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment