mirror of https://github.com/docker/cli.git
Merge pull request #389 from jphuynh/zsh-scale-detach
Add zsh completion for `docker service scale --detach=false`
This commit is contained in:
commit
dabfec6dde
|
@ -2040,6 +2040,7 @@ __docker_service_subcommand() {
|
||||||
(scale)
|
(scale)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
"($help -d --detach)"{-d=false,--detach=false}"[Disable detached mode]" \
|
||||||
"($help -)*:service:->values" && ret=0
|
"($help -)*:service:->values" && ret=0
|
||||||
case $state in
|
case $state in
|
||||||
(values)
|
(values)
|
||||||
|
|
Loading…
Reference in New Issue