Merge pull request #3202 from albers/completion-logs

bash completion for new `docker logs` options
This commit is contained in:
Joffrey F 2016-03-24 09:56:12 -07:00
commit 87231a25be
1 changed files with 7 additions and 1 deletions

View File

@ -211,9 +211,15 @@ _docker_compose_kill() {
_docker_compose_logs() {
case "$prev" in
--tail)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help --no-color" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--follow -f --help --no-color --tail --timestamps -t" -- "$cur" ) )
;;
*)
__docker_compose_services_all