From f993ec90046bfb8bc2591a00aaa9feb2640c32de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= Date: Wed, 28 Aug 2024 16:36:11 +0200 Subject: [PATCH] Add a sqlite flag --- engine/flags.go | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/flags.go b/engine/flags.go index c578b0c9..d85e127b 100644 --- a/engine/flags.go +++ b/engine/flags.go @@ -72,6 +72,7 @@ func (ac *Config) handleFlags(serverTempDir string) { flag.StringVar(&ac.mariaDatabase, "mariadb", "", "MariaDB/MySQL database name") flag.StringVar(&ac.postgresDSN, "postgres", "", "PostgreSQL connection string (DSN)") flag.StringVar(&ac.postgresDatabase, "postgresdb", "", "PostgreSQL database name") + flag.StringVar(&ac.sqliteConnectionString, "sqlite", "", "SQLite filename / connection string") flag.BoolVar(&ac.useBolt, "bolt", false, "Use the default Bolt filename") flag.StringVar(&ac.boltFilename, "boltdb", "", "Bolt database filename") flag.Int64Var(&ac.limitRequests, "limit", ac.defaultLimit, "Limit clients to a number of requests per second")