Permalink
Browse files

Add bash completion for `down --timeout`

Signed-off-by: Harald Albers <github@albersweb.de>
  • Loading branch information...
albers committed Dec 7, 2017
1 parent 2a1089a commit bb42537bcf83387bb6c0a44f9c58452195cc903a
Showing with 4 additions and 1 deletion.
  1. +4 −1 contrib/completion/bash/docker-compose
@@ -194,11 +194,14 @@ _docker_compose_down() {
COMPREPLY=( $( compgen -W "all local" -- "$cur" ) )
return
;;
--timeout|-t)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help --rmi --volumes -v --remove-orphans" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--help --rmi --timeout -t --volumes -v --remove-orphans" -- "$cur" ) )
;;
esac
}

0 comments on commit bb42537

Please sign in to comment.