Browse Source

Merge pull request #30125 from albers/completion-plugin-install--disable-content-trust

Add bash completion for `plugin install --disable-content-trust`
Brian Goff 8 năm trước cách đây
mục cha
commit
1bbd75c743
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      contrib/completion/bash/docker

+ 1 - 1
contrib/completion/bash/docker

@@ -3286,7 +3286,7 @@ _docker_plugin_install() {
 
 	case "$cur" in
 		-*)
-			COMPREPLY=( $( compgen -W "--alias --disable --grant-all-permissions --help" -- "$cur" ) )
+			COMPREPLY=( $( compgen -W "--alias --disable --disable-content-trust=false --grant-all-permissions --help" -- "$cur" ) )
 			;;
 	esac
 }