Update config.go

Make the bug clearly.
This commit is contained in:
W192547975
2023-08-06 12:54:53 +08:00
committed by GitHub
parent 2ed7afdeb3
commit 115a634ef3

View File

@@ -215,7 +215,7 @@ func parseParams(subCommand string) {
daemonMode := fset.Bool("d", false, "daemonMode")
notVerbose := fset.Bool("nv", false, "not log console")
newconfig := fset.Bool("newconfig", false, "not load existing config.json")
logLevel := fset.Int("loglevel", 0, "0:info 1:warn 2:error 3:debug")
logLevel := fset.Int("loglevel", 0, "0:info 1:warn 2:error 3:debug") //BUG? maybe 0:debug
if subCommand == "" { // no subcommand
fset.Parse(os.Args[1:])
} else {