mirror of https://github.com/docker/cli.git
Merge pull request #381 from albers/completion-login-fix-sort-order
Fix sort order of options in bash completion
This commit is contained in:
commit
fd6523e21f
|
@ -2851,7 +2851,7 @@ _docker_login() {
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--help --password --password-stdin -p --username -u" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--help --password -p --password-stdin --username -u" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue