2
0
mirror of https://github.com/42wim/matterbridge synced 2024-11-17 03:26:07 +00:00

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
This commit is contained in:
Syam.G.Krishnan 2017-06-14 15:15:35 +00:00 committed by Wim
parent 860a371eeb
commit 9e34162a09

View File

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