mirror of
https://github.com/docker/compose.git
synced 2025-07-08 22:34:26 +02:00
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…
x
Reference in New Issue
Block a user