update main.go

This commit is contained in:
陈博 2018-02-07 17:05:22 +08:00 committed by Zack Scholl
parent 389ecf6e60
commit 63ba167880
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ type Flags struct {
var version string
func main() {
version = "0.4.2"
flags := new(Flags)
flag.BoolVar(&flags.HideLogo, "hidelogo", false, "run as relay")
flag.BoolVar(&flags.Relay, "relay", false, "run as relay")