flag 에러 표시만 하고 계속 실행

This commit is contained in:
2023-06-20 17:16:35 +09:00
parent c47353565b
commit a034ea5ceb

View File

@ -5,7 +5,7 @@ import (
"os" "os"
) )
var commandLine = flag.NewFlagSet("maingate", flag.ExitOnError) var commandLine = flag.NewFlagSet("maingate", flag.ContinueOnError)
var Devflag = commandLine.Bool("dev", false, "") var Devflag = commandLine.Bool("dev", false, "")
var Noauth = commandLine.Bool("noauth", false, "") var Noauth = commandLine.Bool("noauth", false, "")