Set the default color on only for text format

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar 2020-04-14 18:32:48 +02:00 committed by Cosmin Cojocar
parent 1a113d6da9
commit c58f3563d3

View file

@ -284,7 +284,7 @@ func main() {
// Color flag is allowed for text format
var color bool
if *flagFormat != "text" {
if *flagFormat == "text" {
color = true
}