Add bash completion for docker service ps --all

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fc7c7b1358
Component: cli
This commit is contained in:
Harald Albers
2016-11-13 09:32:53 -08:00
committed by Tibor Vass
parent 1a05c79390
commit 76b7581484

View File

@ -2587,7 +2587,7 @@ _docker_service_ps() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--filter -f --help --no-resolve --no-trunc --quiet -q" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--all -a --filter -f --help --no-resolve --no-trunc --quiet -q" -- "$cur" ) )
;;
*)
local counter=$(__docker_pos_first_nonflag '--filter|-f')