aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-29 15:38:24 +0000
committerGitHub <noreply@github.com>2020-09-29 15:38:24 +0000
commit2ee415be90b8d6ab75f9fe579fc1b8690e023d3c (patch)
tree375d46dee82070a31696475f49cea8de3d0c51a5
parent63f0bb93f8b51945e37ad04e977d57942f4dd148 (diff)
parentd42f77016bf98f7941754d87cbdc6c6e86cef983 (diff)
downloadpodman-2ee415be90b8d6ab75f9fe579fc1b8690e023d3c.tar.gz
podman-2ee415be90b8d6ab75f9fe579fc1b8690e023d3c.tar.bz2
podman-2ee415be90b8d6ab75f9fe579fc1b8690e023d3c.zip
Merge pull request #7788 from IceCodeNew/patch-1
Updating on supported restart policy
-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 4efdf1164..bb5eb9f38 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,