mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
use link flag to control version
This commit is contained in:
parent
63ba167880
commit
21a0e1778e
1 changed files with 1 additions and 2 deletions
3
main.go
3
main.go
|
@ -30,8 +30,7 @@ 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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue