style: use one spelling for colour across the CLI

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-17 20:33:18 +02:00
parent 288a64ccd2
commit 0b42ce7952
+2 -2
View File
@@ -102,7 +102,7 @@ func cmdVersion() int {
return 0
}
// ANSI color helpers for terminal output.
// ANSI colour helpers for terminal output.
const (
colorReset = "\033[0m"
colorBold = "\033[1m"
@@ -111,7 +111,7 @@ const (
colorGray = "\033[90m"
)
// isTTY reports whether the writer is a terminal (for color output).
// isTTY reports whether the writer is a terminal (for colour output).
func isTTY(w io.Writer) bool {
if f, ok := w.(*os.File); ok {
stat, _ := f.Stat()