summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create.go
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-07-08 13:29:28 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-07-08 17:11:08 +0200
commit6b9abe69dbe6b08ba817759685618fdb485721d5 (patch)
tree2eec8512659331a8bf1199ed9b9396a622d056c3 /cmd/podman/common/create.go
parent6087fb2116aaeae995e8423872ffe637e8be128f (diff)
downloadpodman-6b9abe69dbe6b08ba817759685618fdb485721d5.tar.gz
podman-6b9abe69dbe6b08ba817759685618fdb485721d5.tar.bz2
podman-6b9abe69dbe6b08ba817759685618fdb485721d5.zip
improve pull-policy documentation
Make sure that the docs for pull policies is consistent with Buildah and reflects the implementation. Further improve the help messages and auto completions. [NO NEW TESTS NEEDED] Fixes: #14846 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'cmd/podman/common/create.go')
-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 c1a744011..923d0517f 100644
--- a/cmd/podman/common/create.go
+++ b/cmd/podman/common/create.go
@@ -390,7 +390,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions,
createFlags.StringVar(
&cf.Pull,
pullFlagName, cf.Pull,
- `Pull image before creating ("always"|"missing"|"never")`,
+ `Pull image policy`,
)
_ = cmd.RegisterFlagCompletionFunc(pullFlagName, AutocompletePullOption)