add(report) -format-csv option (#1034)

This commit is contained in:
gy741
2020-11-05 20:56:19 +09:00
committed by GitHub
parent 93059b74c3
commit ebd3834a35
5 changed files with 66 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ func (w StdoutWriter) Write(rs ...models.ScanResult) error {
fmt.Print("\n")
}
if c.Conf.FormatList {
if c.Conf.FormatList || c.Conf.FormatCsvList {
for _, r := range rs {
fmt.Println(formatList(r))
}