diff --git a/cmd/sendmail.go b/cmd/sendmail.go index b44c5cf..6d9305a 100644 --- a/cmd/sendmail.go +++ b/cmd/sendmail.go @@ -21,7 +21,7 @@ func init() { rootCmd.AddCommand(sendmailCmd) // print out manual help screen - rootCmd.SetHelpTemplate(sendmail.HelpTemplate([]string{os.Args[0], "sendmail"})) + sendmailCmd.SetHelpTemplate(sendmail.HelpTemplate([]string{os.Args[0], "sendmail"})) // these are simply repeated for cli consistency as cobra/viper does not allow // multi-letter single-dash variables (-bs)