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

Add zsh completion for 'docker-compose config --resolve-image-digests --volumes'
This commit is contained in:
Joffrey F 2017-03-30 13:46:05 -07:00 committed by GitHub
commit 9069ae78f7
1 changed files with 3 additions and 1 deletions

View File

@ -210,7 +210,9 @@ __docker-compose_subcommand() {
_arguments \ _arguments \
$opts_help \ $opts_help \
'(--quiet -q)'{--quiet,-q}"[Only validate the configuration, don't print anything.]" \ '(--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) (create)
_arguments \ _arguments \