1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

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

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: e3f47c4a55
Component: cli
This commit is contained in:
Steve Durrheimer
2016-11-10 21:25:24 +01:00
committed by Tibor Vass
parent 1a51c21e82
commit 1a5e1fa61d

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: "