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-parallelism
|
||||
--stop-grace-period
|
||||
--stop-signal
|
||||
--update-delay
|
||||
--update-failure-action
|
||||
--update-max-failure-ratio
|
||||
|
@ -3131,6 +3132,10 @@ _docker_service_update_and_create() {
|
|||
COMPREPLY=( $( compgen -W "continue pause" -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
--stop-signal)
|
||||
__docker_complete_signals
|
||||
return
|
||||
;;
|
||||
--update-failure-action)
|
||||
COMPREPLY=( $( compgen -W "continue pause rollback" -- "$cur" ) )
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue