From 9b72ea4f64337b3283a02763015d7545255d3bf1 Mon Sep 17 00:00:00 2001 From: Philipp Winter Date: Thu, 12 Dec 2024 07:47:14 -0600 Subject: [PATCH] Don't print help twice. --- cmd/veil/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/veil/main.go b/cmd/veil/main.go index 08cf6e4..a3be059 100644 --- a/cmd/veil/main.go +++ b/cmd/veil/main.go @@ -92,7 +92,6 @@ func parseFlags(out io.Writer, args []string) (*config.Config, error) { var err error if err = fs.Parse(args); err != nil { - fs.PrintDefaults() return nil, fmt.Errorf("failed to parse flags: %w", err) }