Commit b0a9dbb8 authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by Stephen Hemminger

ip: add missing help about mode argument

There is three possibilities: only IPv6, only IPv4 or both.
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
parent 824c8435
...@@ -33,6 +33,7 @@ static void usage(void) __attribute__((noreturn)); ...@@ -33,6 +33,7 @@ static void usage(void) __attribute__((noreturn));
static void usage(void) static void usage(void)
{ {
fprintf(stderr, "Usage: ip link { add | set | change | replace | del } NAME\n"); 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, " type ip6tnl [ remote ADDR ] [ local ADDR ]\n");
fprintf(stderr, " [ dev PHYS_DEV ] [ encaplimit ELIM ]\n"); fprintf(stderr, " [ dev PHYS_DEV ] [ encaplimit ELIM ]\n");
fprintf(stderr ," [ hoplimit HLIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ]\n"); fprintf(stderr ," [ hoplimit HLIM ] [ tclass TCLASS ] [ flowlabel FLOWLABEL ]\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment