Browse Source

change -b flag to -bind

This is for consistency with Goji's default flag and is more clear.
pull/53/head
mutantmonkey 9 years ago
parent
commit
82edabd036
  1. 2
      server.go

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

Loading…
Cancel
Save