From fa1b82e5ebc0e7dafe500e891c8b8c5fe5d4e1aa Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Fri, 5 Aug 2016 19:14:13 +0200 Subject: [PATCH] Fix bash completion for `docker swarm join --advertise-addr` 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 decd2d3064..61f62e4198 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -1878,7 +1878,7 @@ _docker_swarm_join() { case "$cur" in -*) - COMPREPLY=( $( compgen -W "--adveritse-addr --help --listen-addr --token" -- "$cur" ) ) + COMPREPLY=( $( compgen -W "--advertise-addr --help --listen-addr --token" -- "$cur" ) ) ;; *:) COMPREPLY=( $( compgen -W "2377" -- "${cur##*:}" ) )