From: Nicolas Dichtel Date: Fri, 3 May 2013 15:18:41 +0000 (-0700) Subject: ip: add missing help about mode argument X-Git-Tag: v3.10.0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0a9dbb816febb78e0f185c77aa78c19cb151bf5;p=thirdparty%2Fiproute2.git ip: add missing help about mode argument There is three possibilities: only IPv6, only IPv4 or both. Signed-off-by: Nicolas Dichtel --- diff --git a/ip/link_ip6tnl.c b/ip/link_ip6tnl.c index 294736481..f5b12454c 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");