bash completion for docker network inspect supports multiple networks

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers
2015-10-27 19:57:01 -04:00
committed by Tibor Vass
parent 05e3f2f62f
commit 8b5c7d6a60
+1 -5
View File
@@ -1101,11 +1101,7 @@ _docker_network_inspect() {
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag)
if [ $cword -eq $counter ]; then
__docker_networks
fi
;;
__docker_networks
esac
}