Skip to content

Commit fa32a0a

Browse files
committed
Document address:port
1 parent 97da3df commit fa32a0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Simple websocket tcp proxy.
44

55
```
66
Usage:
7-
ws-tcp-proxy <address> [flags]
7+
ws-tcp-proxy <address:port> [flags]
88
99
Flags:
1010
-a, --auto-cert string register hostname with LetsEncrypt

cmd/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var config Config
1717

1818
// ProxyCmd is the main command for Cobra.
1919
var ProxyCmd = &cobra.Command{
20-
Use: "ws-tcp-proxy <address>",
20+
Use: "ws-tcp-proxy <address:port>",
2121
Short: "Simple websocket tcp proxy.",
2222
Long: `Simple websocket tcp proxy.`,
2323
Run: func(cmd *cobra.Command, args []string) {

0 commit comments

Comments
 (0)