From 20ed884d05fe27b8a26c8b2524cdbc5aadb84f6a Mon Sep 17 00:00:00 2001 From: Luclu7 Date: Thu, 24 Dec 2020 01:08:32 +0100 Subject: [PATCH] defaults to ./config.ini not the best option but it's at least better --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 257e02a..3171d9b 100644 --- a/main.go +++ b/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()