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.
This commit is contained in:
Pierre Ossman 2023-08-21 16:26:32 +02:00
parent a1346552fb
commit e28b7c8c75
1 changed files with 1 additions and 1 deletions

View File

@ -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]"