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:
commit
e44bde8606
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue