public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH] iproute2: Document the -D and -I options
@ 2013-03-11 21:59 Eric W. Biederman
  0 siblings, 0 replies; only message in thread
From: Eric W. Biederman @ 2013-03-11 21:59 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Larry Baker


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       |    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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-11 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11 21:59 [PATCH] iproute2: Document the -D and -I options Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox