Skip to content

Commit

Permalink
Merge branch 'akitasoftware:main' into main (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
liujed committed Mar 9, 2024
2 parents 7657ed4 + 29b27d7 commit cc1fd38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ func preRun(cmd *cobra.Command, args []string) {
printer.SwitchToJSON()
case "plain":
printer.SwitchToPlain()
case "color":
case "color", "colour":
// No change needed
case "":
// Default to 'colour'.
default:
// Use color
printer.Warningln("Unknown log format, using `color`.")
Expand Down

0 comments on commit cc1fd38

Please sign in to comment.