change -b flag to -bind

This is for consistency with Goji's default flag and is more clear.
This commit is contained in:
mutantmonkey 2015-10-09 23:06:28 -07:00
parent a09297389b
commit 82edabd036

View File

@ -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")