Skip to content

Commit

Permalink
Fix usage syntax in regular TCP case
Browse files Browse the repository at this point in the history
You always need to specify the target on the command line as the system
has no default target address.
  • Loading branch information
CendioOssman committed Aug 21, 2023
1 parent a134655 commit e28b7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websockify/websocketproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def websockify_init():

# Setup optparse.
usage = "\n %prog [options]"
usage += " [source_addr:]source_port [target_addr:target_port]"
usage += " [source_addr:]source_port target_addr:target_port"
usage += "\n %prog [options]"
usage += " --token-plugin=CLASS [source_addr:]source_port"
usage += "\n %prog [options]"
Expand Down

0 comments on commit e28b7c8

Please sign in to comment.