about summary refs log tree commit diff
path: root/src/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go2
1 files changed, 1 insertions, 1 deletions
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() {