From 82edabd036197d0e8fd982f9e0c136debcc70474 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Fri, 9 Oct 2015 23:06:28 -0700 Subject: [PATCH] change -b flag to -bind This is for consistency with Goji's default flag and is more clear. --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 38f5cda..caa93a2 100644 --- a/server.go +++ b/server.go @@ -128,7 +128,7 @@ func setup() *web.Mux { } func main() { - flag.StringVar(&Config.bind, "b", "127.0.0.1:8080", + flag.StringVar(&Config.bind, "bind", "127.0.0.1:8080", "host to bind to (default: 127.0.0.1:8080)") flag.StringVar(&Config.filesDir, "filespath", "files/", "path to files directory")