[PATCH] iproute2: Document the -D and -I options
From: Eric W. Biederman <hidden>
Date: 2013-03-11 21:59:44
Subsystem:
the rest · Maintainer:
Linus Torvalds
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" <redacted> --- ip/ip.c | 1 + man/man8/ip.8 | 10 ++++++++++ 2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/ip/ip.c b/ip/ip.c
index c3ff627..e10ddb2 100644
--- 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");
diff --git a/man/man8/ip.8 b/man/man8/ip.8
index 881e1ff..37f9988 100644
--- a/man/man8/ip.8
+++ b/man/man8/ip.8@@ -82,6 +82,16 @@ 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 .BR "\-family link" .
--
1.7.5.4