mirror of https://github.com/docker/cli.git
Improve bash completion for `service create|update --update-failure-action`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
0ada299b10
commit
0f47a7b1ef
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue