Add zsh completion for 'docker-compose down'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2016-01-16 13:47:48 +01:00 committed by Aanand Prasad
parent d5f3826ec7
commit 7dd5fd5763

View File

@ -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
;; ;;
(down)
_arguments \
$opts_help \
"--rmi[Remove images, type may be one of: 'all' to remove all images, or 'local' to remove only images that don't have an custom name set by the 'image' field]:type:(all local)" \
'(-v --volumes)'{-v,--volumes}"[Remove data volumes]" && ret=0
;;
(events) (events)
_arguments \ _arguments \
$opts_help \ $opts_help \