mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
No longer generate empty reports (#577)
* return nil when no leaks found and lowercase report format option (#3) * lowercase format options for consistency * lowercase report format description Co-authored-by: eddie-northcutt-wfp0 <eddie.northcutt.wfp0@statefarm.com>
This commit is contained in:
1 parent
ca987b3842
commit
6018a6bb70
3 files changed
+18
-18
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ type Options struct {
|
||||
|
||||
// Report Options
|
||||
Report string `short:"o" long:"report" description:"Report output path"`
|
||||
ReportFormat string `short:"f" long:"format" default:"json" description:"JSON, CSV, SARIF"`
|
||||
ReportFormat string `short:"f" long:"format" default:"json" description:"json, csv, sarif"`
|
||||
|
||||
// Commit Options
|
||||
FilesAtCommit string `long:"files-at-commit" description:"Sha of commit to scan all files at commit"`
|
||||
|
||||
Reference in new issue
Block a user