diff options
Diffstat (limited to 'cmd/client/client.go')
-rw-r--r-- | cmd/client/client.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/client/client.go b/cmd/client/client.go index 1115673..54d7190 100644 --- a/cmd/client/client.go +++ b/cmd/client/client.go | |||
@@ -28,9 +28,10 @@ var clientId string | |||
28 | 28 | ||
29 | func NewClientCommand(appVersion string) *cobra.Command { | 29 | func NewClientCommand(appVersion string) *cobra.Command { |
30 | clientCmd := &cobra.Command{ | 30 | clientCmd := &cobra.Command{ |
31 | Use: "client proxy-host ssh-to-host ssh-port username", | 31 | Use: "client proxy-host ssh-to-host ssh-port username", |
32 | Short: fmt.Sprintf("Run websocket client (version %s)", appVersion), | 32 | Short: "Run websocket client", |
33 | Args: cobra.ExactArgs(3), | 33 | Args: cobra.ExactArgs(3), |
34 | Version: appVersion, | ||
34 | Run: func(c *cobra.Command, args []string) { | 35 | Run: func(c *cobra.Command, args []string) { |
35 | cfg := app.Config{} | 36 | cfg := app.Config{} |
36 | cli.MustGetConfig(c, &cfg) | 37 | cli.MustGetConfig(c, &cfg) |