From b0a9dbb816febb78e0f185c77aa78c19cb151bf5 Mon Sep 17 00:00:00 2001 From: Nicolas Dichtel Date: Fri, 3 May 2013 08:18:41 -0700 Subject: [PATCH] ip: add missing help about mode argument There is three possibilities: only IPv6, only IPv4 or both. Signed-off-by: Nicolas Dichtel --- ip/link_ip6tnl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ip/link_ip6tnl.c b/ip/link_ip6tnl.c index 29473648..f5b12454 100644 --- a/ip/link_ip6tnl.c +++ b/ip/link_ip6tnl.c @@ -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");