@@ -41,26 +41,26 @@ func portForwardCmd() *serpent.Command {
41
41
)
42
42
return & serpent.Command {
43
43
Use : "port-forward" ,
44
- Short : "Forward TCP or UDP ports " ,
45
- Long : "Redirect data between local ports and ports on the remote " + cliui . Code ( "wush" ) + " peer. \n " + formatExamples (
44
+ Short : "Forward ports from the wush server. " ,
45
+ Long : formatExamples (
46
46
example {
47
- Description : "Port forward a single TCP port from 1234 in the peer to port 5678 on your local machine" ,
47
+ Description : "Forward a single TCP port from 1234 on the server to port 5678 on your local machine" ,
48
48
Command : "wush port-forward --tcp 5678:1234" ,
49
49
},
50
50
example {
51
- Description : "Port forward a single UDP port from port 9000 to port 9000 on your local machine " ,
51
+ Description : "Forward a single UDP port" ,
52
52
Command : "wush port-forward --udp 9000" ,
53
53
},
54
54
example {
55
- Description : "Port forward multiple TCP ports and a UDP port" ,
55
+ Description : "Forward multiple TCP ports and a UDP port" ,
56
56
Command : "wush port-forward --tcp 8080:8080 --tcp 9000:3000 --udp 5353:53" ,
57
57
},
58
58
example {
59
- Description : "Port forward multiple ports (TCP or UDP) in condensed syntax" ,
59
+ Description : "Forward multiple ports (TCP or UDP) in condensed syntax" ,
60
60
Command : "wush port-forward --tcp 8080,9000:3000,9090-9092,10000-10002:10010-10012" ,
61
61
},
62
62
example {
63
- Description : "Port forward specifying the local address to bind to " ,
63
+ Description : "Forward specifying the local address to bind" ,
64
64
Command : "wush port-forward --tcp 1.2.3.4:8080:8080" ,
65
65
},
66
66
),
0 commit comments