Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Add the unit for max archive size. (#1108)
ahravea40c0f30622
diff --git a/main.go b/main.goindex fb3f3645b..a53cd970f 100644--- a/main.go+++ b/main.go@@ -47,7 +47,7 @@ var (printAvgDetectorTime = cli.Flag("print-avg-detector-time", "Print the average time spent on each detector.").Bool()noUpdate = cli.Flag("no-update", "Don't check for updates.").Bool()fail = cli.Flag("fail", "Exit with code 183 if results are found.").Bool()- archiveMaxSize = cli.Flag("archive-max-size", "Maximum size of archive to scan.").Bytes()+ archiveMaxSize = cli.Flag("archive-max-size", "Maximum size of archive to scan. (Bytes)").Bytes()archiveMaxDepth = cli.Flag("archive-max-depth", "Maximum depth of archive to scan.").Int()archiveTimeout = cli.Flag("archive-timeout", "Maximum time to spend extracting an archive.").Duration()