Merge pull request #3216 from sdurrheimer/zsh-completion-logs

Add zsh completion for 'docker-compose logs -f --follow --tail -t --t…
This commit is contained in:
Aanand Prasad 2016-03-29 16:49:36 +01:00
commit 668d45c7cc
1 changed files with 3 additions and 0 deletions

View File

@ -247,7 +247,10 @@ __docker-compose_subcommand() {
(logs)
_arguments \
$opts_help \
'(-f --follow)'{-f,--follow}'[Follow log output]' \
'--no-color[Produce monochrome output.]' \
'--tail=[Number of lines to show from the end of the logs for each container.]:number of lines: ' \
'(-t --timestamps)'{-t,--timestamps}'[Show timestamps]' \
'*:services:__docker-compose_services_all' && ret=0
;;
(pause)