fix docker/compose#11170 add newline in cmd/compose/build.go fmt.Fprint

Signed-off-by: szampardi <szampardi@deepnull.com>
This commit is contained in:
szampardi 2023-11-08 16:14:30 +01:00
parent 2945532f97
commit 646a8fc0e8
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}),