mirror of https://github.com/docker/compose.git
Add completion for `scale --timeout`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
7e22719090
commit
b03a2f7910
|
@ -280,11 +280,14 @@ _docker_compose_scale() {
|
||||||
COMPREPLY=("$cur")
|
COMPREPLY=("$cur")
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
--timeout|-t)
|
||||||
|
return
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--help --timeout -t" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
COMPREPLY=( $(compgen -S "=" -W "$(___docker_compose_all_services_in_compose_file)" -- "$cur") )
|
COMPREPLY=( $(compgen -S "=" -W "$(___docker_compose_all_services_in_compose_file)" -- "$cur") )
|
||||||
|
|
Loading…
Reference in New Issue