fix flags
This commit is contained in:
parent
0eb8eff904
commit
ab14f1d9e3
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue