From 8f0986f04bfdd3b552a1948c12ad499767f5a208 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 ccc53868b7..c5e7b7948e 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##*:}" ) )