summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index fd2de2c..81863d0 100644
--- a/main.go
+++ b/main.go
@@ -4,7 +4,6 @@ package main
4 4
5import ( 5import (
6 "embed" 6 "embed"
7 "fmt"
8 "log" 7 "log"
9 8
10 "code.crute.us/mcrute/ssh-proxy/app" 9 "code.crute.us/mcrute/ssh-proxy/app"
@@ -32,8 +31,9 @@ var version string
32 31
33func main() { 32func main() {
34 r := &cobra.Command{ 33 r := &cobra.Command{
35 Use: "web-server", 34 Use: "web-server",
36 Short: fmt.Sprintf("SSH proxy web server (version %s)", version), 35 Short: "SSH proxy web server",
36 Version: version,
37 } 37 }
38 cli.AddFlags(r, &app.Config{}, app.DefaultConfig, "") 38 cli.AddFlags(r, &app.Config{}, app.DefaultConfig, "")
39 39