aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 7d6cf8f..378ac44 100644
--- a/main.go
+++ b/main.go
@@ -14,6 +14,8 @@ const VERSION = "lindenii-maild v0.0.0"
func main() {
config_path := flag.String("config", "/etc/lindenii/maild.scfg", "path to configuration file")
+ flag.Parse()
+
err := load_config(*config_path)
if err != nil {
panic(err)