diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 7f5cc2e991..e75d372324 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -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" ) ) ;;