Browse code

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

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit b0235ffdddede003b3e125ffdef796a185e8a43e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Steve Durrheimer authored on 2016/03/27 06:49:53
Showing 1 changed files
... ...
@@ -937,11 +937,13 @@ __docker_subcommand() {
937 937
             _arguments $(__docker_arguments) \
938 938
                 $opts_help \
939 939
                 "($help -a --all-tags)"{-a,--all-tags}"[Download all tagged images]" \
940
+                "($help)--disable-content-trust[Skip image verification]" \
940 941
                 "($help -):name:__docker_search" && ret=0
941 942
             ;;
942 943
         (push)
943 944
             _arguments $(__docker_arguments) \
944 945
                 $opts_help \
946
+                "($help)--disable-content-trust[Skip image signing]" \
945 947
                 "($help -): :__docker_images" && ret=0
946 948
             ;;
947 949
         (rename)