From 10b572b2a601ba5299ff94233ed1cf36654c80d6 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 16 Jun 2022 00:18:20 +0800 Subject: [PATCH] enable log flags (#140) Signed-off-by: Wei Liu --- cmd/work/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/work/main.go b/cmd/work/main.go index 7c86ae89a..a5562b91e 100644 --- a/cmd/work/main.go +++ b/cmd/work/main.go @@ -24,6 +24,7 @@ func main() { pflag.CommandLine.SetNormalizeFunc(utilflag.WordSepNormalizeFunc) pflag.CommandLine.AddGoFlagSet(goflag.CommandLine) + logs.AddFlags(pflag.CommandLine) logs.InitLogs() defer logs.FlushLogs()