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
54f5499a
You need to sign in or sign up before continuing.
Commit
54f5499a
authored
Feb 12, 2020
by
lifubang
Committed by
antirez
Feb 12, 2020
Browse files
correct help info for --user and --pass
Signed-off-by:
lifubang
<
lifubang@acmcoder.com
>
parent
0c952b13
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
54f5499a
...
@@ -1688,8 +1688,8 @@ static void usage(void) {
...
@@ -1688,8 +1688,8 @@ static void usage(void) {
" You can also use the " REDIS_CLI_AUTH_ENV " environment\n"
" You can also use the " REDIS_CLI_AUTH_ENV " environment\n"
" variable to pass this password more safely\n"
" variable to pass this password more safely\n"
" (if both are used, this argument takes predecence).\n"
" (if both are used, this argument takes predecence).\n"
" -user <username>
Used to send ACL style 'AUTH username pass'. Needs -a.\n"
"
-
-user <username> Used to send ACL style 'AUTH username pass'. Needs -a.\n"
" -pass <password>
Alias of -a for consistency with the new --user option.\n"
"
-
-pass <password> Alias of -a for consistency with the new --user option.\n"
" -u <uri> Server URI.\n"
" -u <uri> Server URI.\n"
" -r <repeat> Execute specified command N times.\n"
" -r <repeat> Execute specified command N times.\n"
" -i <interval> When -r is used, waits <interval> seconds per command.\n"
" -i <interval> When -r is used, waits <interval> seconds per command.\n"
...
...
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