cmd/route-httpagent: add flagenv for parsing from environment

This commit is contained in:
Cadey Ratio 2017-09-30 07:26:28 -07:00
parent 01e5dc7b56
commit 0ada04df8c
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import (
"git.xeserv.us/xena/route/lib/tun2"
"github.com/Xe/ln"
"github.com/facebookgo/flagenv"
)
var (
@ -18,6 +19,7 @@ var (
)
func main() {
flagenv.Parse()
flag.Parse()
cfg := &tun2.ClientConfig{