mirror of https://github.com/velour/catbase.git
main: fix flags to default to config.lua
This commit is contained in:
parent
87487a518e
commit
0220b8f266
4
main.go
4
main.go
|
@ -29,8 +29,8 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
var cfile = flag.String("config", "config.json",
|
||||
"Config file to load. (Defaults to config.json)")
|
||||
var cfile = flag.String("config", "config.lua",
|
||||
"Config file to load. (Defaults to config.lua)")
|
||||
flag.Parse() // parses the logging flags.
|
||||
|
||||
c := config.Readconfig(Version, *cfile)
|
||||
|
|
Loading…
Reference in New Issue