mirror of
https://github.com/axllent/mailpit.git
synced 2025-11-06 09:09:14 +02:00
Merge branch 'release/v1.6.16'
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
|
||||
Notable changes to Mailpit will be documented in this file.
|
||||
|
||||
## [v1.6.16]
|
||||
|
||||
### Bugfix
|
||||
- Fix sendmail/startup panic
|
||||
|
||||
|
||||
## [v1.6.15]
|
||||
|
||||
### Feature
|
||||
|
||||
@@ -21,7 +21,7 @@ func init() {
|
||||
rootCmd.AddCommand(sendmailCmd)
|
||||
|
||||
// print out manual help screen
|
||||
rootCmd.SetHelpTemplate(sendmail.HelpTemplate(os.Args[0:2]))
|
||||
rootCmd.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)
|
||||
|
||||
@@ -161,7 +161,6 @@ func Run() {
|
||||
|
||||
// HelpTemplate returns a string of the help
|
||||
func HelpTemplate(args []string) string {
|
||||
fmt.Println(args)
|
||||
return fmt.Sprintf(`A sendmail command replacement for Mailpit (%s)
|
||||
|
||||
Usage: %s [flags] [recipients] < message
|
||||
|
||||
Reference in New Issue
Block a user