mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +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
1
main.go
1
main.go
|
@ -30,7 +30,6 @@ type Flags struct {
|
||||||
var version string
|
var version string
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
version = "0.4.2"
|
|
||||||
|
|
||||||
flags := new(Flags)
|
flags := new(Flags)
|
||||||
flag.BoolVar(&flags.HideLogo, "hidelogo", false, "run as relay")
|
flag.BoolVar(&flags.HideLogo, "hidelogo", false, "run as relay")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue