Commit 8b1a08a9 authored by sakeven's avatar sakeven

add level for print flags

Signed-off-by: 's avatarsakeven <jc5930@sina.cn>
parent 4e1b6083
......@@ -49,6 +49,6 @@ func InitFlags() {
pflag.CommandLine.AddGoFlagSet(goflag.CommandLine)
pflag.Parse()
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)
})
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment