mirror of https://github.com/docker/cli.git
Add bash completion for `service create|update --stop-signal`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
beacad8f6c
commit
f6f45c14ec
|
@ -2993,6 +2993,7 @@ _docker_service_update_and_create() {
|
||||||
--rollback-monitor
|
--rollback-monitor
|
||||||
--rollback-parallelism
|
--rollback-parallelism
|
||||||
--stop-grace-period
|
--stop-grace-period
|
||||||
|
--stop-signal
|
||||||
--update-delay
|
--update-delay
|
||||||
--update-failure-action
|
--update-failure-action
|
||||||
--update-max-failure-ratio
|
--update-max-failure-ratio
|
||||||
|
@ -3131,6 +3132,10 @@ _docker_service_update_and_create() {
|
||||||
COMPREPLY=( $( compgen -W "continue pause" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "continue pause" -- "$cur" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
--stop-signal)
|
||||||
|
__docker_complete_signals
|
||||||
|
return
|
||||||
|
;;
|
||||||
--update-failure-action)
|
--update-failure-action)
|
||||||
COMPREPLY=( $( compgen -W "continue pause rollback" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "continue pause rollback" -- "$cur" ) )
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue