mirror of https://github.com/docker/cli.git
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:
parent
2dac00bdca
commit
04d905f6fa
|
@ -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