fix flags

This commit is contained in:
Seán C McCord 2023-09-30 16:52:35 -04:00
parent 0eb8eff904
commit ab14f1d9e3
Signed by: scm
GPG key ID: FC678714ACA347CB

View file

@ -27,8 +27,8 @@ var (
var allowedDomains []string var allowedDomains []string
func init() { func init() {
flag.IntVar(&listenPort, "p", 2525, "port on which to listen for incoming emails") flag.IntVar(&listenPort, "smtp", 2525, "port on which to listen for incoming emails")
flag.IntVar(&healthPort, "p", 8080, "port on which to listen for health checks") flag.IntVar(&healthPort, "health", 8080, "port on which to listen for health checks")
} }
func main() { func main() {