mirror of https://github.com/docker/cli.git
Bash completion supports multiple stacks in `stack rm`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
279bbbab27
commit
50ea10e293
|
@ -4078,11 +4078,7 @@ _docker_stack_rm() {
|
|||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
local counter=$(__docker_pos_first_nonflag)
|
||||
if [ $cword -eq $counter ]; then
|
||||
__docker_complete_stacks
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue