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")
|
||||
return
|
||||
;;
|
||||
--timeout|-t)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
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") )
|
||||
|
|
Loading…
Reference in New Issue