Browse Source

-color help

boyska 5 years ago
parent
commit
2280e2963a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/circolog-tail/main.go

+ 1 - 1
cmd/circolog-tail/main.go

@@ -64,7 +64,7 @@ func main() {
 	flag.Var(&filter, "where", "sql-like query to filter logs")
 	// TODO: change to color-mode=auto/no/always
 	hasColor := BoolAuto_AUTO
-	flag.Var(&hasColor, "color", "dis/enable colors")
+	flag.Var(&hasColor, "color", "dis/enable colors; yes/no/auto")
 	flag.Parse()
 
 	if hasColor == BoolAuto_NO || (!isatty.IsTerminal(os.Stdout.Fd()) && hasColor != BoolAuto_YES) {