diff --git a/main.go b/main.go index c93f4f8..c3b1f59 100644 --- a/main.go +++ b/main.go @@ -142,6 +142,7 @@ func init() { // Get database and socket running dsn = flag.String("dsn", "", "Database connection string") sockpath = flag.String("sock", "", "Unix socket path") + flag.Parse() db, err := sql.Open("mysql", *dsn) if err != nil { log.Fatalf("sql.Open: %s", err.Error()) diff --git a/wp-metacache b/wp-metacache index 0caabac..be2873f 100755 Binary files a/wp-metacache and b/wp-metacache differ