cmd/route-httpagent: add flagenv for parsing from environment
This commit is contained in:
parent
01e5dc7b56
commit
0ada04df8c
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue