diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-01-28 18:00:22 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-02-01 17:59:28 +0100 |
commit | c16cde203d7f0ac992514aa92284e6eb4c77ac1f (patch) | |
tree | 468254c29349475cc18565fedd7c5b44f95a88a6 /cmd | |
parent | 745fa4ac94c3ec99becd85f59d1b59c2c9765527 (diff) | |
download | podman-c16cde203d7f0ac992514aa92284e6eb4c77ac1f.tar.gz podman-c16cde203d7f0ac992514aa92284e6eb4c77ac1f.tar.bz2 podman-c16cde203d7f0ac992514aa92284e6eb4c77ac1f.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')
-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 1029e03d1..a35fea442 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) |