fix: docker login autocomplete for zsh

Changed `--user` to `--username`

Signed-off-by: Rohan Verma <hello@rohanverma.net>
(cherry picked from commit 1dc756e8df)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Rohan Verma 2019-06-14 13:20:14 +05:30 committed by Sebastiaan van Stijn
parent 41718b98f6
commit 10a899b6bd
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@
# - Felix Riedel # - Felix Riedel
# - Steve Durrheimer # - Steve Durrheimer
# - Vincent Bernat # - Vincent Bernat
# - Rohan Verma
# #
# license: # license:
# #
@ -2784,7 +2785,7 @@ __docker_subcommand() {
$opts_help \ $opts_help \
"($help -p --password)"{-p=,--password=}"[Password]:password: " \ "($help -p --password)"{-p=,--password=}"[Password]:password: " \
"($help)--password-stdin[Read password from stdin]" \ "($help)--password-stdin[Read password from stdin]" \
"($help -u --user)"{-u=,--user=}"[Username]:username: " \ "($help -u --username)"{-u=,--username=}"[Username]:username: " \
"($help -)1:server: " && ret=0 "($help -)1:server: " && ret=0
;; ;;
(logout) (logout)