~kt/udprelay

c23a165f44783f00b70a9675d892371ff50db985 — Katie Wolfe 1 year, 2 months ago b58b04f v0.0.0
v0.0.0
2 files changed, 4 insertions(+), 1 deletions(-)

M main.go
A version.go
M main.go => main.go +1 -1
@@ 20,7 20,7 @@ type Peer struct {
func main() {
	log.SetFlags(0)
	flag.Usage = func() {
		fmt.Fprintf(flag.CommandLine.Output(), "usage: %s [OPTION...] port\n\noptions:\n", os.Args[0])
		fmt.Fprintf(flag.CommandLine.Output(), "udprelay %s\nusage: %s [OPTION...] port\n\noptions:\n", Version, os.Args[0])
		flag.PrintDefaults()
	}
	flag.Parse()

A version.go => version.go +3 -0
@@ 0,0 1,3 @@
package main

var Version string = "v0.0.0"