浏览代码

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

Add zsh completion for 'docker service {create,update} --tty'
Sebastiaan van Stijn 8 年之前
父节点
当前提交
8aa04807ad
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      contrib/completion/zsh/_docker

+ 1 - 0
contrib/completion/zsh/_docker

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