Skip to content

Commit ab25aab

Browse files
authored
Merge pull request docker#9311 from quite/no-ansi-be-kind
Don't use ansi even when deprecated option is requested
2 parents 4270987 + 710b637 commit ab25aab

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
@@ -277,7 +277,7 @@ func RootCommand(dockerCli command.Cli, backend api.Service) *cobra.Command {
277277
return errors.New(`cannot specify DEPRECATED "--no-ansi" and "--ansi". Please use only "--ansi"`)
278278
}
279279
ansi = "never"
280-
fmt.Fprint(os.Stderr, aec.Apply("option '--no-ansi' is DEPRECATED ! Please use '--ansi' instead.\n", aec.RedF))
280+
fmt.Fprint(os.Stderr, "option '--no-ansi' is DEPRECATED ! Please use '--ansi' instead.\n")
281281
}
282282
if verbose {
283283
logrus.SetLevel(logrus.TraceLevel)

0 commit comments

Comments
 (0)