fix: docker login autocomplete for zsh

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

Signed-off-by: Rohan Verma <hello@rohanverma.net>
This commit is contained in:
Rohan Verma 2019-06-14 13:20:14 +05:30
parent d7f806fa00
commit 1dc756e8df
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@
# - Felix Riedel
# - Steve Durrheimer
# - Vincent Bernat
# - Rohan Verma
#
# license:
#
@ -2784,7 +2785,7 @@ __docker_subcommand() {
$opts_help \
"($help -p --password)"{-p=,--password=}"[Password]:password: " \
"($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
;;
(logout)