Browse Source

Drop flag parse

Ettore Di Giacinto 4 years ago
parent
commit
a0ade45aa7
1 changed files with 0 additions and 3 deletions
  1. 0 3
      main.go

+ 0 - 3
main.go

@@ -16,7 +16,6 @@
 package main
 package main
 
 
 import (
 import (
-	"flag"
 	"fmt"
 	"fmt"
 	"os"
 	"os"
 
 
@@ -126,8 +125,6 @@ func start(l *zap.Logger, c *cli.Context) {
 		edgevpn.FromYaml(config),
 		edgevpn.FromYaml(config),
 	}
 	}
 
 
-	flag.Parse()
-
 	e := edgevpn.New(opts...)
 	e := edgevpn.New(opts...)
 
 
 	l.Sugar().Info(copyRight)
 	l.Sugar().Info(copyRight)