From cedbc5d68d0a05ca5462c44ff035da1e94c1149d Mon Sep 17 00:00:00 2001 From: Talon Bowler Date: Thu, 18 Jul 2024 08:36:34 -0700 Subject: [PATCH] clarify the appropriate place to use the debug flag when viewing warnings Signed-off-by: Talon Bowler --- commands/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/build.go b/commands/build.go index 12d45a08..7359a194 100644 --- a/commands/build.go +++ b/commands/build.go @@ -835,7 +835,7 @@ func printWarnings(w io.Writer, warnings []client.VertexWarning, mode progressui fmt.Fprintf(sb, "%d warnings found", len(warnings)) } if logrus.GetLevel() < logrus.DebugLevel { - fmt.Fprintf(sb, " (use --debug to expand)") + fmt.Fprintf(sb, " (use docker --debug to expand)") } fmt.Fprintf(sb, ":\n") fmt.Fprint(w, aec.Apply(sb.String(), aec.YellowF))