Fix bash completion for docker swarm join --advertise-addr

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8f0986f04b
Component: cli
This commit is contained in:
Harald Albers
2016-08-05 19:14:13 +02:00
committed by Tibor Vass
parent 2e6beb5ae7
commit 250e1ade84

View File

@ -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##*:}" ) )