mirror of https://github.com/docker/compose.git
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:
commit
9069ae78f7
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue