From 393dc4a8c4026e0811fce1035f998965e4f409bf Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Wed, 26 Jul 2017 11:31:30 +0200 Subject: [PATCH] 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 --- contrib/completion/bash/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 66174729d0..42df4a9fa9 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -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 }