Merge pull request #32514 from albers/completion-multiple-stack-rm
Bash completion supports multiple stacks in `stack rm` Upstream-commit: 5e9a0efec714b46af3de51a22bdd344a600f84eb Component: engine
This commit is contained in:
@ -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
|
||||
;;
|
||||
__docker_complete_stacks
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user