mirror of https://github.com/docker/cli.git
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:
parent
41718b98f6
commit
10a899b6bd
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue