From dbf572a81dd2e53265dba9ef2020c4f6a790dd27 Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Fri, 16 Oct 2015 08:30:56 +0200 Subject: [PATCH] Add zsh completion for 'unless-stopped' restart policy Signed-off-by: Steve Durrheimer --- contrib/completion/zsh/_docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index ef1b580ef2..8af42b4753 100644 --- a/contrib/completion/zsh/_docker +++ b/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"