mirror of https://github.com/docker/cli.git
Add zsh completion for 'docker service {create,update} --rollback-*'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
a7af767c0d
commit
4cb6ab4eb5
|
@ -1929,13 +1929,18 @@ __docker_service_subcommand() {
|
||||||
"($help)--restart-condition=[Restart when condition is met]:mode:(any none on-failure)"
|
"($help)--restart-condition=[Restart when condition is met]:mode:(any none on-failure)"
|
||||||
"($help)--restart-delay=[Delay between restart attempts]:delay: "
|
"($help)--restart-delay=[Delay between restart attempts]:delay: "
|
||||||
"($help)--restart-max-attempts=[Maximum number of restarts before giving up]:max-attempts: "
|
"($help)--restart-max-attempts=[Maximum number of restarts before giving up]:max-attempts: "
|
||||||
"($help)--restart-window=[Window used to evaluate the restart policy]:window: "
|
"($help)--restart-window=[Window used to evaluate the restart policy]:duration: "
|
||||||
|
"($help)--rollback-delay=[Delay between task rollbacks]:duration: "
|
||||||
|
"($help)--rollback-failure-action=[Action on rollback failure]:action:(continue pause)"
|
||||||
|
"($help)--rollback-max-failure-ratio=[Failure rate to tolerate during a rollback]:failure rate: "
|
||||||
|
"($help)--rollback-monitor=[Duration after each task rollback to monitor for failure]:duration: "
|
||||||
|
"($help)--rollback-parallelism=[Maximum number of tasks rolled back simultaneously]:number: "
|
||||||
"($help)*--secret=[Specify secrets to expose to the service]:secret:__docker_complete_secrets"
|
"($help)*--secret=[Specify secrets to expose to the service]:secret:__docker_complete_secrets"
|
||||||
"($help)--stop-grace-period=[Time to wait before force killing a container]:grace period: "
|
"($help)--stop-grace-period=[Time to wait before force killing a container]:grace period: "
|
||||||
"($help)--stop-signal=[Signal to stop the container]:signal:_signals"
|
"($help)--stop-signal=[Signal to stop the container]:signal:_signals"
|
||||||
"($help -t --tty)"{-t,--tty}"[Allocate a pseudo-TTY]"
|
"($help -t --tty)"{-t,--tty}"[Allocate a pseudo-TTY]"
|
||||||
"($help)--update-delay=[Delay between updates]:delay: "
|
"($help)--update-delay=[Delay between updates]:delay: "
|
||||||
"($help)--update-failure-action=[Action on update failure]:mode:(pause continue)"
|
"($help)--update-failure-action=[Action on update failure]:mode:(continue pause rollback)"
|
||||||
"($help)--update-max-failure-ratio=[Failure rate to tolerate during an update]:fraction: "
|
"($help)--update-max-failure-ratio=[Failure rate to tolerate during an update]:fraction: "
|
||||||
"($help)--update-monitor=[Duration after each task update to monitor for failure]:window: "
|
"($help)--update-monitor=[Duration after each task update to monitor for failure]:window: "
|
||||||
"($help)--update-parallelism=[Maximum number of tasks updated simultaneously]:number: "
|
"($help)--update-parallelism=[Maximum number of tasks updated simultaneously]:number: "
|
||||||
|
|
Loading…
Reference in New Issue