Add zsh completion for `docker service scale --detach=false`

Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
Jean-Pierre Huynh 2017-07-27 07:48:39 +01:00
parent 2dac00bdca
commit 04d905f6fa
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)