Skip to content

Commit 710b637

Browse files
committed
Don't use ansi even when deprecated option is requested
Signed-off-by: Daniel Lublin <[email protected]>
1 parent 4cebef1 commit 710b637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/compose/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func RootCommand(dockerCli command.Cli, backend api.Service) *cobra.Command {
272272
return errors.New(`cannot specify DEPRECATED "--no-ansi" and "--ansi". Please use only "--ansi"`)
273273
}
274274
ansi = "never"
275-
fmt.Fprint(os.Stderr, aec.Apply("option '--no-ansi' is DEPRECATED ! Please use '--ansi' instead.\n", aec.RedF))
275+
fmt.Fprint(os.Stderr, "option '--no-ansi' is DEPRECATED ! Please use '--ansi' instead.\n")
276276
}
277277
if verbose {
278278
logrus.SetLevel(logrus.TraceLevel)

0 commit comments

Comments
 (0)