Skip to contentSkip to conversation

ip: add missing help about mode argument

PATCH New Nicolas Dichtel 1 participant 1 message May 3, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip: add missing help about mode argument

There is three possibilities: only IPv6, only IPv4 or both.

---
 ip/link_ip6tnl.c | 1 +
 1 file changed, 1 insertion(+)
ip/link_ip6tnl.c +1 -0
index 2947364..f5b1245 100644
@@ -33,6 +33,7 @@ static void usage(void) __attribute__((noreturn));
 static void usage(void)
 {
 	fprintf(stderr, "Usage: ip link { add | set | change | replace | del } NAME\n");
+	fprintf(stderr, "          [ mode { ip6ip6 | ipip6 | any } ]\n");
 	fprintf(stderr, "          type ip6tnl [ remote ADDR ] [ local ADDR ]\n");
 	fprintf(stderr, "          [ dev PHYS_DEV ] [ encaplimit ELIM ]\n");
 	fprintf(stderr ,"          [ hoplimit HLIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ]\n");
Signature · 1 line
1.8.2.1