summaryrefslogtreecommitdiff
path: root/clientmain.go
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-08-04 11:57:40 -0700
committerMike Crute <mike@crute.us>2023-08-04 11:57:40 -0700
commitc25f33774f4ee735853c249d1c573667706e55e4 (patch)
tree3a37c87d3d5b432c64141660ef1a70adfbe2efe4 /clientmain.go
parent4ea62bb4314cf7c9e4db3a30728ec26194ea678d (diff)
downloadwebsocket_proxy-c25f33774f4ee735853c249d1c573667706e55e4.tar.bz2
websocket_proxy-c25f33774f4ee735853c249d1c573667706e55e4.tar.xz
websocket_proxy-c25f33774f4ee735853c249d1c573667706e55e4.zip
Report version in server/client
Diffstat (limited to 'clientmain.go')
-rw-r--r--clientmain.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/clientmain.go b/clientmain.go
index d75b8bc..91fcae0 100644
--- a/clientmain.go
+++ b/clientmain.go
@@ -12,8 +12,10 @@ import (
12 _ "time/tzdata" 12 _ "time/tzdata"
13) 13)
14 14
15var appVersion string
16
15func main() { 17func main() {
16 cmd := client.NewClientCommand() 18 cmd := client.NewClientCommand(appVersion)
17 19
18 if err := cmd.Execute(); err != nil { 20 if err := cmd.Execute(); err != nil {
19 log.Fatalf("Error running root command: %s", err) 21 log.Fatalf("Error running root command: %s", err)