summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSyam.G.Krishnan <syamgk01@gmail.com>2017-06-14 15:15:35 +0000
committerWim <wim@42.be>2017-06-14 17:15:35 +0200
commit9e34162a09c8cd9a49ce8a8db6f498a784aba9fc (patch)
tree5ddf9c3b46017ae290d96439996ed42a721074b8
parent860a371eebdf378822f9cd246447272186c46dea (diff)
downloadmatterbridge-msglm-9e34162a09c8cd9a49ce8a8db6f498a784aba9fc.tar.gz
matterbridge-msglm-9e34162a09c8cd9a49ce8a8db6f498a784aba9fc.tar.bz2
matterbridge-msglm-9e34162a09c8cd9a49ce8a8db6f498a784aba9fc.zip
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
-rw-r--r--matterbridge.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/matterbridge.go b/matterbridge.go
index cee4d9e8..6788f40c 100644
--- a/matterbridge.go
+++ b/matterbridge.go
@@ -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)