diff options
author | Emile <git@emile.space> | 2024-08-16 22:44:10 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-08-16 22:44:10 +0200 |
commit | ce13a1fe46b4d821e030cd8240978c943531c9be (patch) | |
tree | 89c9f2b066088afb7a21a7d2de56c388bebc3424 | |
parent | a9930c02a33fe94141cd651212b5a815095c77ba (diff) |
actually right name for the templates flag
-rw-r--r-- | src/main.go | 2 |
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() { |