Add zsh completion for 'docker service {create,update} --tty'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2016-11-10 21:25:24 +01:00 committed by Tibor Vass
parent 6073e433cd
commit e3f47c4a55
1 changed files with 1 additions and 0 deletions

View File

@ -1667,6 +1667,7 @@ __docker_service_subcommand() {
"($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]:window: "
"($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 -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:(pause continue)"
"($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: "