bash completion for stack deploy --prune
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 62d0309d24
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
61c68f6c04
commit
a9810fc663
@ -4017,7 +4017,7 @@ _docker_stack_deploy() {
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
local options="--compose-file -c --help --with-registry-auth"
|
||||
local options="--compose-file -c --help --prune --with-registry-auth"
|
||||
__docker_daemon_is_experimental && options+=" --bundle-file"
|
||||
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user