diff options
author | Nikias Bassen | 2020-05-31 15:09:56 +0200 |
---|---|---|
committer | Nikias Bassen | 2020-05-31 15:09:56 +0200 |
commit | e8e1f55c62abfd26b409e89ca092ec38177a0e6d (patch) | |
tree | b9cb6e9e1d4cfd5fdf425f1fd531f1351352b224 | |
parent | d79d1908eec1eee9431cee2c27680182a4db6b3b (diff) | |
download | libusbmuxd-e8e1f55c62abfd26b409e89ca092ec38177a0e6d.tar.gz libusbmuxd-e8e1f55c62abfd26b409e89ca092ec38177a0e6d.tar.bz2 |
iproxy: Update usage to reflect new local:remote port format
-rw-r--r-- | tools/iproxy.c | 5 |
1 files 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" \ |