mirror of https://github.com/docker/cli.git
Remove bash completion for `stack ps --all|-a`
This option was removed in https://github.com/moby/moby/pull/28885. Bash completion was only updated for `service ps`, though. See https://github.com/moby/moby/pull/29716 for the corresponding docs change. Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
05308fcec7
commit
328f4fbf06
|
@ -4407,7 +4407,7 @@ _docker_stack_ps() {
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--all -a --filter -f --format --help --no-resolve --no-trunc --quiet -q" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--filter -f --format --help --no-resolve --no-trunc --quiet -q" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
local counter=$(__docker_pos_first_nonflag '--filter|-f')
|
local counter=$(__docker_pos_first_nonflag '--filter|-f')
|
||||||
|
|
Loading…
Reference in New Issue