]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
iproute2: Document the -D and -I options
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 11 Mar 2013 21:59:55 +0000 (14:59 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Mar 2013 23:53:37 +0000 (16:53 -0700)
While looking into a sysctl regression in decnet on old kernels I
discovered this omission in the iproute2 documentation.

I can't imagine anyone's muscle memory remembering the longer forms.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
ip/ip.c
man/man8/ip.8

diff --git a/ip/ip.c b/ip/ip.c
index c3ff6270417004e318a3d739e2c484522a328706..e10ddb2f831091cccca0d279fe636610be5b5f6c 100644 (file)
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -48,6 +48,7 @@ static void usage(void)
 "                   netns | l2tp | tcp_metrics }\n"
 "       OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n"
 "                    -f[amily] { inet | inet6 | ipx | dnet | bridge | link } |\n"
+"                    -4 | -6 | -I | -D | -B | -0 |\n"
 "                    -l[oops] { maximum-addr-flush-attempts } |\n"
 "                    -o[neline] | -t[imestamp] | -b[atch] [filename] |\n"
 "                    -rc[vbuf] [size]}\n");
index 881e1ff6afdf353089d74f22edf896073989cb66..37f99885d34dbdbc9c3b7ff91d421df30ef8940b 100644 (file)
@@ -81,6 +81,16 @@ shortcut for
 shortcut for
 .BR "\-family bridge" .
 
+.TP
+.B \-D
+shortcut for
+.BR "\-family decnet" .
+
+.TP
+.B \-I
+shortcut for
+.BR "\-family ipx" .
+
 .TP
 .B \-0
 shortcut for