bash completion for connecting non-running containers to networks

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-01-13 10:32:23 +01:00 committed by Tibor Vass
parent 22aaf42a84
commit 9c8b6e05a4
1 changed files with 1 additions and 1 deletions

View File

@ -1139,7 +1139,7 @@ _docker_network_connect() {
if [ $cword -eq $counter ]; then if [ $cword -eq $counter ]; then
__docker_complete_networks __docker_complete_networks
elif [ $cword -eq $(($counter + 1)) ]; then elif [ $cword -eq $(($counter + 1)) ]; then
__docker_complete_containers_running __docker_complete_containers_all
fi fi
;; ;;
esac esac