1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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
parent 7d0041f9e5
commit 82e62b15f3
No known key found for this signature in database
GPG key ID: 4CFBD30A16E0CC04

View file

@ -1846,7 +1846,7 @@ __docker_service_subcommand() {
"($help)--no-resolve[Do not map IDs to Names]" \
"($help)--no-trunc[Do not truncate output]" \
"($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
(filter-options)
__docker_service_complete_ps_filters && ret=0