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:
parent
5a9425c417
commit
07a5119b1a
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue