From c16cde203d7f0ac992514aa92284e6eb4c77ac1f 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') 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) -- cgit v1.2.3-54-g00ecf