fix(report): remove duplicated refreshing logic when report with -diff (#1160)

This commit is contained in:
Kota Kanbe
2021-02-03 07:37:19 +09:00
committed by GitHub
parent fea7e93c8d
commit d4af341b0f
3 changed files with 3 additions and 9 deletions

View File

@@ -96,7 +96,7 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
"-cvss-over=6.5 means reporting CVSS Score 6.5 and over (default: 0 (means report all))")
f.BoolVar(&c.Conf.Diff, "diff", false,
"Difference between previous result and current result ")
"Difference between previous result and current result")
f.BoolVar(&c.Conf.IgnoreUnscoredCves, "ignore-unscored-cves", false,
"Don't report the unscored CVEs")