소스 검색

Merge pull request #17099 from sdurrheimer/zsh-completion-restart-unless-stopped

Add zsh completion for 'unless-stopped' restart policy
Brian Goff 9 년 전
부모
커밋
30b945fac9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      contrib/completion/zsh/_docker

+ 1 - 1
contrib/completion/zsh/_docker

@@ -438,7 +438,7 @@ __docker_subcommand() {
         "($help)--pid=-[PID namespace to use]:PID: "
         "($help)--privileged[Give extended privileges to this container]"
         "($help)--read-only[Mount the container's root filesystem as read only]"
-        "($help)--restart=-[Restart policy]:restart policy:(no on-failure always)"
+        "($help)--restart=-[Restart policy]:restart policy:(no on-failure always unless-stopped)"
         "($help)*--security-opt=-[Security options]:security option: "
         "($help -t --tty)"{-t,--tty}"[Allocate a pseudo-tty]"
         "($help -u --user)"{-u,--user=-}"[Username or UID]:user:_users"