Add zsh completion for 'unless-stopped' restart policy

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2015-10-16 08:30:56 +02:00 committed by Tibor Vass
parent 96af7e18b9
commit dbf572a81d
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ __docker_subcommand() {
"($help)--pid=-[PID namespace to use]:PID: " "($help)--pid=-[PID namespace to use]:PID: "
"($help)--privileged[Give extended privileges to this container]" "($help)--privileged[Give extended privileges to this container]"
"($help)--read-only[Mount the container's root filesystem as read only]" "($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)*--security-opt=-[Security options]:security option: "
"($help -t --tty)"{-t,--tty}"[Allocate a pseudo-tty]" "($help -t --tty)"{-t,--tty}"[Allocate a pseudo-tty]"
"($help -u --user)"{-u,--user=-}"[Username or UID]:user:_users" "($help -u --user)"{-u,--user=-}"[Username or UID]:user:_users"