Add bash completion for `service create|update --stop-signal`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2017-03-09 09:01:02 +01:00 committed by Tibor Vass
parent beacad8f6c
commit f6f45c14ec
1 changed files with 5 additions and 0 deletions

View File

@ -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