Browse code

Add zsh completion for 'docker load -q --quiet'

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

Steve Durrheimer authored on 2016/03/26 02:36:45
Showing 1 changed files
... ...
@@ -810,7 +810,8 @@ __docker_subcommand() {
810 810
         (load)
811 811
             _arguments $(__docker_arguments) \
812 812
                 $opts_help \
813
-                "($help -i --input)"{-i=,--input=}"[Read from tar archive file]:archive file:_files -g "*.((tar|TAR)(.gz|.GZ|.Z|.bz2|.lzma|.xz|)|(tbz|tgz|txz))(-.)"" && ret=0
813
+                "($help -i --input)"{-i=,--input=}"[Read from tar archive file]:archive file:_files -g \"*.((tar|TAR)(.gz|.GZ|.Z|.bz2|.lzma|.xz|)|(tbz|tgz|txz))(-.)\"" \
814
+                "($help -q --quiet)"{-q,--quiet}"[Suppress the load output]" && ret=0
814 815
             ;;
815 816
         (login)
816 817
             _arguments $(__docker_arguments) \