bash completion for connecting non-running containers to networks

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 9c8b6e05a4
Component: cli
This commit is contained in:
Harald Albers
2017-06-02 00:07:23 +00:00
committed by Tibor Vass
parent 1996d937de
commit 387a498ba3
@@ -1139,7 +1139,7 @@ _docker_network_connect() {
if [ $cword -eq $counter ]; then
__docker_complete_networks
elif [ $cword -eq $(($counter + 1)) ]; then
__docker_complete_containers_running
__docker_complete_containers_all
fi
;;
esac