Skip to content

Commit cc1fd38

Browse files
authored
Merge branch 'akitasoftware:main' into main (#5)
2 parents 7657ed4 + 29b27d7 commit cc1fd38

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/root.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ func preRun(cmd *cobra.Command, args []string) {
7676
printer.SwitchToJSON()
7777
case "plain":
7878
printer.SwitchToPlain()
79-
case "color":
79+
case "color", "colour":
8080
// No change needed
81+
case "":
82+
// Default to 'colour'.
8183
default:
8284
// Use color
8385
printer.Warningln("Unknown log format, using `color`.")

0 commit comments

Comments
 (0)