Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 386f29734361286f091e0e46f5ef84c19dd99fa0 Author: Syam.G.Krishnan <syamgk01@gmail.com> Date: Wed Jun 14 15:15:35 2017 +0000 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 diff --git a/matterbridge.go b/matterbridge.go index cee4d9e..6788f40 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -347 +346 @@ func main() {   fmt.Printf("version: %s %s\n", version, githash)   return   } - flag.Parse()   if *flagDebug {   log.Info("Enabling debug")   log.SetLevel(log.DebugLevel)