1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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
parent 5a9425c417
commit 07a5119b1a

View file

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