Merge pull request #28256 from sdurrheimer/zsh-completion-service-create-update-tty

Add zsh completion for 'docker service {create,update} --tty'
Upstream-commit: 8aa04807adcc26bd6dea26c9a1ce284c73d175b7
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-11-10 21:50:29 +01:00
committed by GitHub

View File

@ -1667,6 +1667,7 @@ __docker_service_subcommand() {
"($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)--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-failure-action=[Action on update failure]:mode:(pause continue)"
"($help)--update-max-failure-ratio=[Failure rate to tolerate during an update]:fraction: "