Skip to content

Commit

Permalink
Merge pull request mailhog#19 from timneutkens/sendmail-o-option
Browse files Browse the repository at this point in the history
Added -o option for compatibility
  • Loading branch information
ian-kent authored Apr 16, 2017
2 parents c097b3b + 90a69f1 commit 9e70164
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func Go() {
flag.StringVar(&smtpAddr, "smtp-addr", smtpAddr, "SMTP server address")
flag.StringVarP(&fromAddr, "from", "f", fromAddr, "SMTP sender")
flag.BoolP("long-i", "i", true, "Ignored. This flag exists for sendmail compatibility.")
flag.BoolP("long-o", "o", true, "Ignored. This flag exists for sendmail compatibility.")
flag.BoolP("long-t", "t", true, "Ignored. This flag exists for sendmail compatibility.")
flag.BoolVarP(&verbose, "verbose", "v", false, "Verbose mode (sends debug output to stderr)")
flag.Parse()
Expand Down

0 comments on commit 9e70164

Please sign in to comment.