Skip to content

Commit e28b7c8

Browse files
committed
Fix usage syntax in regular TCP case
You always need to specify the target on the command line as the system has no default target address.
1 parent a134655 commit e28b7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

websockify/websocketproxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def websockify_init():
450450

451451
# Setup optparse.
452452
usage = "\n %prog [options]"
453-
usage += " [source_addr:]source_port [target_addr:target_port]"
453+
usage += " [source_addr:]source_port target_addr:target_port"
454454
usage += "\n %prog [options]"
455455
usage += " --token-plugin=CLASS [source_addr:]source_port"
456456
usage += "\n %prog [options]"

0 commit comments

Comments
 (0)