Major fixup.

This commit is contained in:
2023-08-07 21:29:16 -04:00
parent 345134773f
commit f6528d558f
3 changed files with 20 additions and 20 deletions

View File

@@ -11,17 +11,17 @@ import (
)
func main() {
var dbfile string
var dbFile string
flag.StringVar(&dbfile, "database", "", "the database file to load")
flag.StringVar(&dbFile, "database", "", "the database file to load")
flag.Parse()
if dbfile == "" {
if dbFile == "" {
flag.Usage()
os.Exit(1)
}
_, err := sql.NewDb(dbfile)
_, err := sql.NewDb(dbFile)
if err != nil {
log.Fatal(err)