mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Bash completion supports multiple stacks in stack rm
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
b764c471bf
commit
dc0523313e
1 changed files with 1 additions and 5 deletions
|
@ -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 a new issue