From bf957a51a531d8933f430f90309e11b434119dcb Mon Sep 17 00:00:00 2001 From: NGnius Date: Thu, 13 Feb 2020 13:13:17 -0500 Subject: [PATCH] Fix args default --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 8a86492..a4819ce 100644 --- a/config.go +++ b/config.go @@ -23,8 +23,8 @@ func initArgs() { flag.BoolVar(&printVersionAndExit, "version", false, "Print version and exit") flag.StringVar(&sqlConnection, "conn", sqlConnectionDefault, "Database connection string") flag.StringVar(&sqlServer, "sql", sqlServerDefault, "SQL Database type") - flag.BoolVar(&buildTables, "build-db", true /*false*/, "Build database tables on startup") - flag.BoolVar(&populateTables, "populate-db", true /*false*/, "Populate database with test data") + flag.BoolVar(&buildTables, "build-db", false, "Build database tables on startup") + flag.BoolVar(&populateTables, "populate-db", false, "Populate database with test data") } func parseArgs() {