diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-01-28 18:00:22 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-01-28 18:00:22 +0100 |
commit | c0bf0ba9e5bfa3df343dd3364c0ee2d8c737ae59 (patch) | |
tree | 663add1d094fb8fcefc685ed2a641e068d507f65 /cmd/podman/images | |
parent | c450092fde60417e3a8f9d1a2d59a7ce2eff23e4 (diff) | |
download | podman-c0bf0ba9e5bfa3df343dd3364c0ee2d8c737ae59.tar.gz podman-c0bf0ba9e5bfa3df343dd3364c0ee2d8c737ae59.tar.bz2 podman-c0bf0ba9e5bfa3df343dd3364c0ee2d8c737ae59.zip |
podman build --pull: refine help message and docs
Refine and correct the wording of the `--pull` flag in the help message
and the docs.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r-- | cmd/podman/images/build.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/images/build.go b/cmd/podman/images/build.go index 4219e325b..1f06dace9 100644 --- a/cmd/podman/images/build.go +++ b/cmd/podman/images/build.go @@ -106,7 +106,9 @@ func buildFlags(cmd *cobra.Command) { logrus.Errorf("unable to set --pull to true: %v", err) } flag.DefValue = "true" + flag.Usage = "Always attempt to pull the image (errors are fatal)" flags.AddFlagSet(&budFlags) + // Add the completion functions budCompletions := buildahCLI.GetBudFlagsCompletions() completion.CompleteCommandFlags(cmd, budCompletions) |