fix port typing issue introduced in 998e805

pull/336/head
Simon Aronsson 5 years ago
parent 37069d51df
commit 061e958534

@ -118,10 +118,10 @@ func RegisterNotificationFlags(rootCmd *cobra.Command) {
viper.GetString("WATCHTOWER_NOTIFICATION_EMAIL_SERVER"),
"SMTP server to send notification emails through")
flags.StringP(
flags.IntP(
"notification-email-server-port",
"",
viper.GetString("WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT"),
viper.GetInt("WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT"),
"SMTP server port to send notification emails through")
flags.BoolP(

Loading…
Cancel
Save