1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #19293 from albers/completion-connect-all

bash completion for connecting non-running containers to networks
This commit is contained in:
Arnaud Porterie 2016-01-13 08:10:38 -08:00
commit e44bde8606

View file

@ -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