print banner to stderr

This commit is contained in:
Dustin Decker 2022-02-08 09:12:41 -08:00
parent 79496b8142
commit 0427a995d3

View file

@ -141,7 +141,7 @@ func main() {
}
if !*jsonLegacy && !*jsonOut {
fmt.Printf("🐷🔑🐷 TruffleHog. Unearth your secrets. 🐷🔑🐷\n\n")
fmt.Fprintf(os.Stderr, "🐷🔑🐷 TruffleHog. Unearth your secrets. 🐷🔑🐷\n\n")
}
for r := range e.ResultsChan() {