iproute2: Document the -D and -I options
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>
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 @@
" 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 @@
.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" .