mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
update
This commit is contained in:
parent
a66452cf10
commit
1adc3a3192
2 changed files with 3 additions and 3 deletions
2
main.go
2
main.go
|
|
@ -71,7 +71,7 @@ func readFlag() {
|
|||
fmt.Println("[ERROR] cfg flag is deprecated, please use -c instead")
|
||||
fmt.Printf("\n")
|
||||
flag.Usage()
|
||||
os.Exit(1)
|
||||
os.Exit(2)
|
||||
return nil
|
||||
})
|
||||
flag.BoolVar(&showVersion, "v", false, "show version and exit") // 添加-v标志
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue