Use pflag only

This commit is contained in:
bzub 2017-07-12 22:49:15 -05:00
parent 510d18cdb6
commit dd7cd65cd4

View File

@ -1,7 +1,6 @@
package main
import (
"flag"
"fmt"
"os"
@ -16,7 +15,7 @@ func main() {
config.AddFlags(pflag.CommandLine)
pflag.Parse()
flag.Set("logtostderr", "true")
pflag.Set("logtostderr", "true")
if config.HelpRequested {
pflag.Usage()