From e85636f4b95b2d778b5a18c4734a767403c6fce2 Mon Sep 17 00:00:00 2001 From: Tim Schuster Date: Thu, 16 Mar 2017 12:25:25 +0100 Subject: [PATCH] Fixed bug where config flag was ignored --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 6f96e8d..74ed1f6 100644 --- a/main.go +++ b/main.go @@ -6,9 +6,11 @@ import ( "log" "os" "time" + "flag" ) func main() { + flag.Parse() c, err := config.Load() if err != nil { log.Printf("Could not read configuration: %s\n", err)