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