mirror of https://github.com/docker/compose.git
Merge pull request #2643 from sdurrheimer/zsh-completion-events
Add zsh completion for 'docker-compose events'
This commit is contained in:
commit
a08e02f3bd
|
@ -203,6 +203,12 @@ __docker-compose_subcommand() {
|
||||||
'(--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
|
'--services[Print the service names, one per line.]' && ret=0
|
||||||
;;
|
;;
|
||||||
|
(events)
|
||||||
|
_arguments \
|
||||||
|
$opts_help \
|
||||||
|
'--json[Output events as a stream of json objects.]' \
|
||||||
|
'*:services:__docker-compose_services_all' && ret=0
|
||||||
|
;;
|
||||||
(help)
|
(help)
|
||||||
_arguments ':subcommand:__docker-compose_commands' && ret=0
|
_arguments ':subcommand:__docker-compose_commands' && ret=0
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue