mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 02:32:02 -08: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:
parent
860a371eeb
commit
9e34162a09
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user