From 9f485b14e08fabcc44469e7b06d5a582c8914356 Mon Sep 17 00:00:00 2001 From: Michael Engelhardt Date: Wed, 18 Nov 2020 00:46:37 +0100 Subject: [PATCH] fix shortcut for host --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 9427307e..66060dca 100644 --- a/main.go +++ b/main.go @@ -53,7 +53,7 @@ func init() { flag.IntVar(&port, "port", defaultPort, "port to listen (default: 8080)") flag.IntVar(&port, "p", defaultPort, "port to listen (default: 8080 ; shorthand)") flag.StringVar(&host, "host", defaultHost, "host to listen on (default all interfaces on host)") - flag.StringVar(&host, "host", defaultHost, "host to listen on (default all interfaces on host; shorthand)") + flag.StringVar(&host, "h", defaultHost, "host to listen on (default all interfaces on host; shorthand)") } func main() {