mirror of https://github.com/docker/compose.git
Merge pull request #3202 from albers/completion-logs
bash completion for new `docker logs` options
This commit is contained in:
commit
87231a25be
|
@ -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