Merge pull request #6882 from lifubang/userpass

correct help info for --user and --pass
This commit is contained in:
Salvatore Sanfilippo 2020-02-12 14:04:15 +01:00 committed by GitHub
commit f54bb2a330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1688,8 +1688,8 @@ static void usage(void) {
" You can also use the " REDIS_CLI_AUTH_ENV " environment\n"
" variable to pass this password more safely\n"
" (if both are used, this argument takes predecence).\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"
" --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"
" -u <uri> Server URI.\n"
" -r <repeat> Execute specified command N times.\n"
" -i <interval> When -r is used, waits <interval> seconds per command.\n"