mirror of https://github.com/docker/compose.git
bash completion for new `docker logs` options
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
2b063d332e
commit
d8fb9d8831
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue