Skip to content

Commit

Permalink
Merge pull request docker#18856 from albers/completion-network-rm
Browse files Browse the repository at this point in the history
remove `--format` from bash completion for `docker network rm`
  • Loading branch information
tianon committed Dec 22, 2015
2 parents 9c89e83 + f03695e commit 0bbed98
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,13 @@ _docker_network_ls() {
}

_docker_network_rm() {
_docker_network_inspect
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
;;
*)
__docker_complete_networks
esac
}

_docker_network() {
Expand Down

0 comments on commit 0bbed98

Please sign in to comment.