diff --git a/main.go b/main.go index 7568b23..36b37a5 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,6 @@ package main import ( "bytes" - "flag" "fmt" "github.com/miekg/dns" "github.com/sirupsen/logrus" @@ -58,7 +57,7 @@ func main() { httpClient := http.Client{Timeout: httpTimeout} rand.Seed(time.Now().UTC().UnixNano()) - upstreams := flag.Args() + upstreams := pflag.Args() if len(upstreams) == 0 { rootLogger.Fatal("Must include at least one upstream")