From c0bf0ba9e5bfa3df343dd3364c0ee2d8c737ae59 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Thu, 28 Jan 2021 18:00:22 +0100 Subject: 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 --- cmd/podman/images/build.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/podman/images') 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) -- cgit v1.2.3-54-g00ecf