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
2016-03-26 22:49:53 +01:00
committed by Tibor Vass
parent 373b75803a
commit 11f575cdab

View File

@ -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)