bash completion for stack deploy --prune

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8f159358fb91be0bd47cc1fe60f3882ecf92f360
Component: engine
This commit is contained in:
Harald Albers
2017-05-08 10:14:15 +02:00
parent 440d8b67e7
commit 4f3eebb317

View File

@ -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" ) )
;;