1
0
mirror of https://github.com/docker/cli.git synced 2026-01-19 21:41:31 +03:00

Fix sort order of options in bash completion

See guidelines at the top of the script:

    # Note for developers:
    # Please arrange options sorted alphabetically by long name with the
    # short options immediately following their corresponding long form.
    # This order should be applied to lists, alternatives and code blocks.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 393dc4a8c4
Component: cli
This commit is contained in:
Harald Albers
2017-07-26 11:31:30 +02:00
parent 706203d338
commit 4fc5710ae5

View File

@@ -2851,7 +2851,7 @@ _docker_login() {
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
}