Skip to content

Commit

Permalink
Default no-color to library value
Browse files Browse the repository at this point in the history
Predicting color from the environment is probably the correct default
  • Loading branch information
dnephin committed Oct 27, 2019
1 parent 06322b4 commit 5b470d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Formats:
flags.StringVar(&opts.junitFile, "junitfile",
lookEnvWithDefault("GOTESTSUM_JUNITFILE", ""),
"write a JUnit XML file")
flags.BoolVar(&opts.noColor, "no-color", false, "disable color output")
flags.BoolVar(&opts.noColor, "no-color", color.NoColor, "disable color output")
flags.Var(opts.noSummary, "no-summary",
"do not print summary of: "+testjson.SummarizeAll.String())
flags.Var(opts.junitTestSuiteNameFormat, "junitfile-testsuite-name",
Expand Down

0 comments on commit 5b470d6

Please sign in to comment.