mirror of
https://github.com/ZizzyDizzyMC/linx-server.git
synced 2026-08-02 12:32:24 +00:00
change -b flag to -bind
This is for consistency with Goji's default flag and is more clear.
This commit is contained in:
parent
a09297389b
commit
82edabd036
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue