1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #33083 from albers/completion-stack-deploy--prune

bash completion for `stack deploy --prune`
This commit is contained in:
Vincent Demeester 2017-05-09 09:36:12 +02:00 committed by GitHub
commit 040a1d79a2

View file

@ -4017,7 +4017,7 @@ _docker_stack_deploy() {
case "$cur" in 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" __docker_daemon_is_experimental && options+=" --bundle-file"
COMPREPLY=( $( compgen -W "$options" -- "$cur" ) ) COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
;; ;;