Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
[chore] Write --help to stdout (#4277)
Miccah9c7e578f8415
diff --git a/main.go b/main.goindex 83f968fb1..19863b27d 100644--- a/main.go+++ b/main.go@@ -275,8 +275,9 @@ func init() {cli.Version("trufflehog " + version.BuildVersion)- // Support -h for help+ // Support -h for help and write it to stdout.cli.HelpFlag.Short('h')+ cli.UsageWriter(os.Stdout)// Check if the TUI environment variable is set.if ok, err := strconv.ParseBool(os.Getenv("TUI_PARENT")); err == nil {