5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 17:30:26 +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) fmt.Printf("version: %s %s\n", version, githash)
return return
} }
flag.Parse()
if *flagDebug { if *flagDebug {
log.Info("Enabling debug") log.Info("Enabling debug")
log.SetLevel(log.DebugLevel) log.SetLevel(log.DebugLevel)