ip: add missing help about mode argument

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

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
This commit is contained in:
Nicolas Dichtel 2013-05-03 08:18:41 -07:00 committed by Stephen Hemminger
parent 824c843556
commit b0a9dbb816

View File

@ -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");