浏览代码

bash completion for `stack deploy --prune`

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers 8 年之前
父节点
当前提交
8f159358fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/completion/bash/docker

+ 1 - 1
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" ) )
 			;;