diff --git a/main.go b/main.go index d3e89f2..ae4d73c 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ func main() { appendOption := flag.Bool("append", false, "Append mode for files") chunkedLineOption := flag.Int("chunked", 0, "Chuked files from line (e.g output / output_1 / output_2)") withLineOption := flag.Bool("with-line", false, "With line number (colorize blue)") - withTimeOption := flag.Bool("with-time", false, "With timestamp (colorize blue)") + withTimeOption := flag.Bool("with-time", false, "With timestamp (colorize green)") prefixOption := flag.String("prefix", "", "Prefix string") suffixOption := flag.String("suffix", "", "Suffix string") rmnlOption := flag.Bool("rmnl", false, "Remove newline(\\r\\n)") diff --git a/pkg/gee/string.go b/pkg/gee/string.go index 20cd105..5319135 100644 --- a/pkg/gee/string.go +++ b/pkg/gee/string.go @@ -33,7 +33,7 @@ func StringProc(l string, stdLine int, options model.Options) (string, string) { } if options.WithTimestamp { - result = au.BrightBlue("["+GetNowTime()+"] ").String() + result + result = au.BrightGreen("["+GetNowTime()+"] ").String() + result resultPlain = "[" + GetNowTime() + "] " + resultPlain }