diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,9 +11,11 @@ import ( | |||
11 | "github.com/spf13/cobra" | 11 | "github.com/spf13/cobra" |
12 | ) | 12 | ) |
13 | 13 | ||
14 | var version string | ||
15 | |||
14 | var rootCmd = &cobra.Command{ | 16 | var 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 | ||