Add zsh completion for 'docker-compose events'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2016-01-12 22:04:05 +01:00
parent d32a3ec08f
commit b59387401c
1 changed files with 6 additions and 0 deletions

View File

@ -203,6 +203,12 @@ __docker-compose_subcommand() {
'(--quiet -q)'{--quiet,-q}"[Only validate the configuration, don't print anything.]" \
'--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)
_arguments ':subcommand:__docker-compose_commands' && ret=0
;;