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
pull/204/head
Syam.G.Krishnan 7 years ago committed by Wim
parent 860a371eeb
commit 9e34162a09

@ -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)

Loading…
Cancel
Save