Browse Source

Fix args default

master
NGnius 4 years ago
parent
commit
bf957a51a5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      config.go

+ 2
- 2
config.go View File

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