Prechádzať zdrojové kódy

Add zsh completion for 'docker-compose config --resolve-image-digests --volumes'

Signed-off-by: Steve Durrheimer <[email protected]>
Steve Durrheimer 8 rokov pred
rodič
commit
c9a9f5ab03
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      contrib/completion/zsh/_docker-compose

+ 3 - 1
contrib/completion/zsh/_docker-compose

@@ -210,7 +210,9 @@ __docker-compose_subcommand() {
             _arguments \
                 $opts_help \
                 '(--quiet -q)'{--quiet,-q}"[Only validate the configuration, don't print anything.]" \
-                '--services[Print the service names, one per line.]' && ret=0
+                '--resolve-image-digests[Pin image tags to digests.]' \
+                '--services[Print the service names, one per line.]' \
+                '--volumes[Print the volume names, one per line.]' && ret=0
             ;;
         (create)
             _arguments \