From ab14f1d9e38aaa955d43231834ac06ab7a0a85cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= Date: Sat, 30 Sep 2023 16:52:35 -0400 Subject: [PATCH] fix flags --- cmd/inbound/inbound.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/inbound/inbound.go b/cmd/inbound/inbound.go index a04e0bf..1d69574 100644 --- a/cmd/inbound/inbound.go +++ b/cmd/inbound/inbound.go @@ -27,8 +27,8 @@ var ( var allowedDomains []string func init() { - flag.IntVar(&listenPort, "p", 2525, "port on which to listen for incoming emails") - flag.IntVar(&healthPort, "p", 8080, "port on which to listen for health checks") + flag.IntVar(&listenPort, "smtp", 2525, "port on which to listen for incoming emails") + flag.IntVar(&healthPort, "health", 8080, "port on which to listen for health checks") } func main() {