mirror of https://github.com/docker/cli.git
Modify zsh completion for connecting/disconnecting non-running containers to networks
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
9e760ec497
commit
78f33c4c2b
|
@ -295,7 +295,7 @@ __docker_network_subcommand() {
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help -)1:network:__docker_networks" \
|
"($help -)1:network:__docker_networks" \
|
||||||
"($help -)2:containers:__docker_runningcontainers" && ret=0
|
"($help -)2:containers:__docker_containers" && ret=0
|
||||||
;;
|
;;
|
||||||
(create)
|
(create)
|
||||||
_arguments $(__docker_arguments) -A '-*' \
|
_arguments $(__docker_arguments) -A '-*' \
|
||||||
|
|
Loading…
Reference in New Issue