aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIceCodeNew <32576256+IceCodeNew@users.noreply.github.com>2020-09-26 06:41:18 +0800
committerIceCodeNew <32576256+IceCodeNew@users.noreply.github.com>2020-09-27 15:41:08 +0800
commitd42f77016bf98f7941754d87cbdc6c6e86cef983 (patch)
tree07458e0cafcdc406870e11b70c55b6e7f6a2a1a8
parent03d01abec6d028e9d5f60615b0451e42d0611d1d (diff)
downloadpodman-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.go2
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,