mirror of https://github.com/docker/docs.git
Merge pull request #21549 from sdurrheimer/zsh-completion-pull-push-disable-content-trust
Add zsh completion for 'docker {pull,push} --disable-content-trust'
This commit is contained in:
commit
db00de5d37
|
|
@ -883,11 +883,13 @@ __docker_subcommand() {
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help -a --all-tags)"{-a,--all-tags}"[Download all tagged images]" \
|
"($help -a --all-tags)"{-a,--all-tags}"[Download all tagged images]" \
|
||||||
|
"($help)--disable-content-trust[Skip image verification]" \
|
||||||
"($help -):name:__docker_search" && ret=0
|
"($help -):name:__docker_search" && ret=0
|
||||||
;;
|
;;
|
||||||
(push)
|
(push)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
"($help)--disable-content-trust[Skip image signing]" \
|
||||||
"($help -): :__docker_images" && ret=0
|
"($help -): :__docker_images" && ret=0
|
||||||
;;
|
;;
|
||||||
(rename)
|
(rename)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue