From ce13a1fe46b4d821e030cd8240978c943531c9be Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 16 Aug 2024 22:44:10 +0200 Subject: actually right name for the templates flag --- src/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.go b/src/main.go index 941b58e..e28be80 100644 --- a/src/main.go +++ b/src/main.go @@ -33,7 +33,7 @@ func initFlags() { flag.StringVar(&logFilePath, "logfilepath", "./server.log", "The path to the log file") flag.StringVar(&databasePath, "databasepath", "./main.db", "The path to the main database") flag.StringVar(&sessiondbPath, "sessiondbpath", "./sesions.db", "The path to the session database") - flag.StringVar(&sessiondbPath, "sessiondbpath", "./templates", "The path to the templates used") + flag.StringVar(&templatesPath, "templatespath", "./templates", "The path to the templates used") } func main() { -- cgit 1.4.1