Add bash completion for docker service ps --all

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-11-13 09:32:53 -08:00 committed by Victor Vieux
parent a2575eb741
commit 6ec7c7a89c

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')