From e8e1f55c62abfd26b409e89ca092ec38177a0e6d Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 31 May 2020 15:09:56 +0200 Subject: iproxy: Update usage to reflect new local:remote port format --- tools/iproxy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/iproxy.c b/tools/iproxy.c index e133e26..e81b290 100644 --- a/tools/iproxy.c +++ b/tools/iproxy.c @@ -214,9 +214,10 @@ static void print_usage(int argc, char **argv, int is_error) { char *name = NULL; name = strrchr(argv[0], '/'); - fprintf(is_error ? stderr : stdout, "Usage: %s [OPTIONS] LOCAL_PORT DEVICE_PORT\n", (name ? name + 1: argv[0])); + fprintf(is_error ? stderr : stdout, "Usage: %s [OPTIONS] LOCAL_PORT:DEVICE_PORT [LOCAL_PORT2:DEVICE_PORT2 ...]\n\n", (name ? name+1 : argv[0])); fprintf(is_error ? stderr : stdout, - "Proxy that enables TCP service access to iOS devices.\n\n" \ + "Proxy that binds local TCP ports to be forwarded to the specified ports on a usbmux device.\n\n" \ + "OPTIONS:\n" \ " -u, --udid UDID target specific device by UDID\n" \ " -n, --network connect to network device\n" \ " -l, --local connect to USB device (default)\n" \ -- cgit v1.1-32-gdbae