feat: remove env prefix for docker

This commit is contained in:
Xhofe
2022-03-13 17:01:45 +08:00
parent c51dc4594d
commit bb017c5f6d
5 changed files with 28 additions and 20 deletions

View File

@ -30,6 +30,7 @@ func init() {
flag.BoolVar(&conf.Debug, "debug", false, "start with debug mode")
flag.BoolVar(&conf.Version, "version", false, "print version info")
flag.BoolVar(&conf.Password, "password", false, "print current password")
flag.BoolVar(&conf.Docker, "docker", false, "is using docker")
flag.Parse()
InitLog()
}