fatedier 6 years ago
parent
commit
9abbe33790
2 changed files with 4 additions and 4 deletions
  1. 2 2
      cmd/frpc/sub/stcp.go
  2. 2 2
      cmd/frpc/sub/xtcp.go

+ 2 - 2
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 {

+ 2 - 2
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 {