From 84ded018cf526b4256138ce0319d82b726d3f357 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Sat, 11 Mar 2017 02:19:03 -0800 Subject: [PATCH] iodine: add usage for -4 and -6 command line arguments Those arguments were introduced, but not documented. Fixes: 619ede5d ("Add options to force IP version for client DNS traffic") Signed-off-by: Ralf Ramsauer --- src/iodine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/iodine.c b/src/iodine.c index 9eed567..1ed0db6 100644 --- a/src/iodine.c +++ b/src/iodine.c @@ -71,7 +71,7 @@ static inline void help(bool verbose) __attribute__((noreturn)); static void help(bool verbose) { fprintf(stderr, "iodine IP over DNS tunneling client\n\n" - "Usage: %s [-fhrv] [-u user] [-t chrootdir] [-d device] [-P password]\n" + "Usage: %s [-46fhrv] [-u user] [-t chrootdir] [-d device] [-P password]\n" " [-m maxfragsize] [-M maxlen] [-T type] [-O enc] [-L 0|1] [-I sec]\n" " [-z context] [-F pidfile] [nameserver] topdomain\n", __progname); @@ -79,6 +79,8 @@ help(bool verbose) { exit(2); fprintf(stderr, "\nOptions to try if connection doesn't work:\n" + " -4 to connect only to IPv4\n" + " -6 to connect only to IPv6\n" " -T force dns type: NULL, PRIVATE, TXT, SRV, MX, CNAME, A (default: autodetect)\n" " -O force downstream encoding for -T other than NULL: Base32, Base64, Base64u,\n" " Base128, or (only for TXT:) Raw (default: autodetect)\n"