From 9e34162a09c8cd9a49ce8a8db6f498a784aba9fc Mon Sep 17 00:00:00 2001 From: "Syam.G.Krishnan" Date: Wed, 14 Jun 2017 15:15:35 +0000 Subject: [PATCH] remove second flag.Parse() (#196) flag.Parse() is already being called on line 28 https://github.com/42wim/matterbridge/blob/master/matterbridge.go#L28 and there is no need for calling it again --- matterbridge.go | 1 - 1 file changed, 1 deletion(-) diff --git a/matterbridge.go b/matterbridge.go index cee4d9e8..6788f40c 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -34,7 +34,6 @@ func main() { fmt.Printf("version: %s %s\n", version, githash) return } - flag.Parse() if *flagDebug { log.Info("Enabling debug") log.SetLevel(log.DebugLevel)