diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-09 13:50:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 13:50:43 +0100 |
commit | aaf94c84e7167103753a5c718f87f0a6f33a8537 (patch) | |
tree | 47a2887081aa983b6cb48a081aa2f22d9ade720c /cmd/podman/common.go | |
parent | f3fc10feb42930def6922fc050096ea38bafed7a (diff) | |
parent | 3b2aa033c8f6abdf93e25f9e7bed7dd596fcfe34 (diff) | |
download | podman-aaf94c84e7167103753a5c718f87f0a6f33a8537.tar.gz podman-aaf94c84e7167103753a5c718f87f0a6f33a8537.tar.bz2 podman-aaf94c84e7167103753a5c718f87f0a6f33a8537.zip |
Merge pull request #4820 from edsantiago/consistent_option_enumerations
Usage messages: show possible option values
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r-- | cmd/podman/common.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 69365201e..dc7590590 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -308,7 +308,7 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { ) createFlags.String( "image-volume", cliconfig.DefaultImageVolume, - "Tells podman how to handle the builtin image volumes. The options are: 'bind', 'tmpfs', or 'ignore'", + `Tells podman how to handle the builtin image volumes ("bind"|"tmpfs"|"ignore")`, ) createFlags.Bool( "init", false, @@ -431,7 +431,7 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { ) createFlags.String( "pull", "missing", - `Pull image before creating ("always"|"missing"|"never") (default "missing")`, + `Pull image before creating ("always"|"missing"|"never")`, ) createFlags.BoolP( "quiet", "q", false, @@ -447,7 +447,7 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { ) createFlags.String( "restart", "", - "Restart policy to apply when a container exits", + `Restart policy to apply when a container exits ("always"|"no"|"on-failure")`, ) createFlags.Bool( "rm", false, @@ -492,7 +492,7 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { ) createFlags.String( "systemd", "true", - `Run container in systemd mode ("true"|"false"|"always" (default "true")`, + `Run container in systemd mode ("true"|"false"|"always")`, ) createFlags.StringArray( "tmpfs", []string{}, |