Add zsh completion for multiple service for 'docker service ps'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2017-01-19 09:04:51 +01:00 committed by Tibor Vass
parent da15de5f1b
commit 4577834e8c
1 changed files with 1 additions and 1 deletions

View File

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