Skip to content

Commit

Permalink
mail-port flag is uint
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Dec 28, 2018
1 parent 0cb5eda commit 80b2ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkron/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func ConfigFlagSet() *flag.FlagSet {

// Notifications
cmdFlags.String("mail-host", "", "Mail server host address to use for notifications.")
cmdFlags.String("mail-port", "", "Mail server port.")
cmdFlags.Uint16("mail-port", 0, "Mail server port.")
cmdFlags.String("mail-username", "", "Mail server username used for authentication.")
cmdFlags.String("mail-password", "", "Mail server password to use.")
cmdFlags.String("mail-from", "", "From email address to use.")
Expand Down

0 comments on commit 80b2ab1

Please sign in to comment.