mirror of https://github.com/docker/cli.git
Add zsh completion for multiple service for 'docker service ps'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
da15de5f1b
commit
4577834e8c
|
@ -1876,7 +1876,7 @@ __docker_service_subcommand() {
|
||||||
"($help)--no-resolve[Do not map IDs to Names]" \
|
"($help)--no-resolve[Do not map IDs to Names]" \
|
||||||
"($help)--no-trunc[Do not truncate output]" \
|
"($help)--no-trunc[Do not truncate output]" \
|
||||||
"($help -q --quiet)"{-q,--quiet}"[Only display task IDs]" \
|
"($help -q --quiet)"{-q,--quiet}"[Only display task IDs]" \
|
||||||
"($help -)1:service:__docker_complete_services" && ret=0
|
"($help -)*:service:__docker_complete_services" && ret=0
|
||||||
case $state in
|
case $state in
|
||||||
(filter-options)
|
(filter-options)
|
||||||
__docker_service_complete_ps_filters && ret=0
|
__docker_service_complete_ps_filters && ret=0
|
||||||
|
|
Loading…
Reference in New Issue