Merge pull request #19836 from jfrazelle/update-completions-for-disable-content-trust
update bash completions for push and pull Upstream-commit: 7cc012333f36669d384d9c3405759bdadb383f63 Component: engine
This commit is contained in:
@@ -1466,7 +1466,7 @@ _docker_ps() {
|
||||
_docker_pull() {
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--all-tags -a --help" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--all-tags -a --disable-content-trust=false --help" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
local counter=$(__docker_pos_first_nonflag)
|
||||
@@ -1488,7 +1488,7 @@ _docker_pull() {
|
||||
_docker_push() {
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--disable-content-trust=false --help" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
local counter=$(__docker_pos_first_nonflag)
|
||||
|
||||
Reference in New Issue
Block a user