summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 75555e6..ec4170b 100644
--- a/main.go
+++ b/main.go
@@ -11,9 +11,11 @@ import (
11 "github.com/spf13/cobra" 11 "github.com/spf13/cobra"
12) 12)
13 13
14var version string
15
14var rootCmd = &cobra.Command{ 16var rootCmd = &cobra.Command{
15 Use: "websocket-proxy", 17 Use: "websocket-proxy",
16 Version: "0.1.0", 18 Version: version,
17 Short: "Proxy TCP connections over a websocket", 19 Short: "Proxy TCP connections over a websocket",
18} 20}
19 21