diff --git a/cmd/frpc/sub/stcp.go b/cmd/frpc/sub/stcp.go index 66585ad3..45229a0e 100644 --- a/cmd/frpc/sub/stcp.go +++ b/cmd/frpc/sub/stcp.go @@ -47,8 +47,8 @@ func init() { } var stcpCmd = &cobra.Command{ - Use: "http", - Short: "Run frpc with a single http proxy", + Use: "stcp", + Short: "Run frpc with a single stcp proxy", RunE: func(cmd *cobra.Command, args []string) error { err := parseClientCommonCfg(CfgFileTypeCmd, "") if err != nil { diff --git a/cmd/frpc/sub/xtcp.go b/cmd/frpc/sub/xtcp.go index 53bd1374..09ea8921 100644 --- a/cmd/frpc/sub/xtcp.go +++ b/cmd/frpc/sub/xtcp.go @@ -47,8 +47,8 @@ func init() { } var xtcpCmd = &cobra.Command{ - Use: "http", - Short: "Run frpc with a single http proxy", + Use: "xtcp", + Short: "Run frpc with a single xtcp proxy", RunE: func(cmd *cobra.Command, args []string) error { err := parseClientCommonCfg(CfgFileTypeCmd, "") if err != nil {