@@ -49,6 +49,6 @@ func InitFlags() {
|
|||||||
pflag.CommandLine.AddGoFlagSet(goflag.CommandLine)
|
pflag.CommandLine.AddGoFlagSet(goflag.CommandLine)
|
||||||
pflag.Parse()
|
pflag.Parse()
|
||||||
pflag.VisitAll(func(flag *pflag.Flag) {
|
pflag.VisitAll(func(flag *pflag.Flag) {
|
||||||
glog.Infof("FLAG: --%s=%q", flag.Name, flag.Value)
|
glog.V(4).Infof("FLAG: --%s=%q", flag.Name, flag.Value)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user