Merge pull request #5 from luclu7/patch-2

defaults to ./config.ini
This commit is contained in:
Maël 2020-12-23 21:45:00 -04:00 committed by GitHub
commit e9e84ea076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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