From e28b7c8c7547ed5c08fb1e731c39377ecb4e6a60 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 21 Aug 2023 16:26:32 +0200 Subject: [PATCH] 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. --- websockify/websocketproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websockify/websocketproxy.py b/websockify/websocketproxy.py index 9b4595b4..b6f103c1 100644 --- a/websockify/websocketproxy.py +++ b/websockify/websocketproxy.py @@ -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]"