Skip to content

Commit

Permalink
fix docker#11170 add newline in cmd/compose/build.go fmt.Fprint
Browse files Browse the repository at this point in the history
Signed-off-by: szampardi <[email protected]>
  • Loading branch information
nexus166 authored and temenuzhka-thede committed Sep 17, 2024
1 parent 22f2c7a commit 22e8150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/compose/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func buildCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
opts.ssh = "default"
}
if cmd.Flags().Changed("progress") && opts.ssh == "" {
fmt.Fprint(os.Stderr, "--progress is a global compose flag, better use `docker compose --progress xx build ...")
fmt.Fprint(os.Stderr, "--progress is a global compose flag, better use `docker compose --progress xx build ...\n")
}
return runBuild(ctx, dockerCli, backend, opts, args)
}),
Expand Down

0 comments on commit 22e8150

Please sign in to comment.