Merge pull request #389 from jphuynh/zsh-scale-detach

Add zsh completion for `docker service scale --detach=false`
This commit is contained in:
Sebastiaan van Stijn 2017-08-02 00:48:37 +02:00 committed by GitHub
commit dabfec6dde
1 changed files with 1 additions and 0 deletions

View File

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