Add zsh completion for 'docker {pull,push} --disable-content-trust'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: dc9d859c15
Component: cli
This commit is contained in:
Steve Durrheimer
2017-06-02 00:07:33 +00:00
committed by Tibor Vass
parent 373b75803a
commit 11f575cdab
@@ -883,11 +883,13 @@ __docker_subcommand() {
_arguments $(__docker_arguments) \
$opts_help \
"($help -a --all-tags)"{-a,--all-tags}"[Download all tagged images]" \
"($help)--disable-content-trust[Skip image verification]" \
"($help -):name:__docker_search" && ret=0
;;
(push)
_arguments $(__docker_arguments) \
$opts_help \
"($help)--disable-content-trust[Skip image signing]" \
"($help -): :__docker_images" && ret=0
;;
(rename)