defaults to ./config.ini
not the best option but it's at least better
This commit is contained in:
parent
aed754d74c
commit
20ed884d05
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -21,7 +21,7 @@ var DB *sql.DB
|
|||
|
||||
//Main loop
|
||||
func main() {
|
||||
configPatch := flag.String("config", "extra/config.ini.example", "the patch to the config file") //Get the config patch from --config flag
|
||||
configPatch := flag.String("config", "config.ini", "the patch to the config file") //Get the config patch from --config flag
|
||||
sqlMigration := flag.Bool("sqlmigrate", false, "initialize / migrate the database") //Detect if migration asked
|
||||
flag.Parse()
|
||||
|
||||
|
|
Loading…
Reference in a new issue