Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ef931ef9
Commit
ef931ef9
authored
May 18, 2018
by
dejun.xdj
Browse files
Change the warning message a little bit to avoid trademark issuses.
parent
b263c7c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
ef931ef9
...
@@ -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