Browse Source

Merge pull request #4685 from sdurrheimer/zsh-completion-config

Add zsh completion for 'docker-compose config --resolve-image-digests --volumes'
Joffrey F 8 năm trước cách đây
mục cha
commit
9069ae78f7
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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 \