Update config.go

This commit is contained in:
W192547975
2023-08-06 23:31:17 +08:00
committed by GitHub
parent 0af65b7204
commit 82c74b4f85

View File

@@ -216,7 +216,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", 1, "0:debug 1:info 2:warn 3:error")
if subCommand == "" { // no subcommand
fset.Parse(os.Args[1:])
} else {