Improve bash completion for `service create|update --update-failure-action`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2017-03-05 10:42:44 -08:00 committed by Tibor Vass
parent 0ada299b10
commit 0f47a7b1ef
1 changed files with 4 additions and 0 deletions

View File

@ -3131,6 +3131,10 @@ _docker_service_update_and_create() {
COMPREPLY=( $( compgen -W "continue pause" -- "$cur" ) )
return
;;
--update-failure-action)
COMPREPLY=( $( compgen -W "continue pause rollback" -- "$cur" ) )
return
;;
--user|-u)
__docker_complete_user_group
return