Skip to content

Commit

Permalink
Fix bash completion for docker swarm join --advertise-addr
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Albers <[email protected]>
  • Loading branch information
albers committed Aug 5, 2016
1 parent e4bca49 commit fa1b82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -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##*:}" ) )
Expand Down

0 comments on commit fa1b82e

Please sign in to comment.