diff options
author | IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> | 2020-09-26 06:41:18 +0800 |
---|---|---|
committer | IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> | 2020-09-27 15:41:08 +0800 |
commit | d42f77016bf98f7941754d87cbdc6c6e86cef983 (patch) | |
tree | 07458e0cafcdc406870e11b70c55b6e7f6a2a1a8 | |
parent | 03d01abec6d028e9d5f60615b0451e42d0611d1d (diff) | |
download | podman-d42f77016bf98f7941754d87cbdc6c6e86cef983.tar.gz podman-d42f77016bf98f7941754d87cbdc6c6e86cef983.tar.bz2 podman-d42f77016bf98f7941754d87cbdc6c6e86cef983.zip |
Updating on supported restart policy
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
-rw-r--r-- | cmd/podman/common/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index 7e3dc7fb4..00387de19 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -389,7 +389,7 @@ func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet { createFlags.StringVar( &cf.Restart, "restart", "", - `Restart policy to apply when a container exits ("always"|"no"|"on-failure")`, + `Restart policy to apply when a container exits ("always"|"no"|"on-failure"|"unless-stopped")`, ) createFlags.BoolVar( &cf.Rm, |