public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: ebiederm@xmission•com (Eric W. Biederman)
To: Stephen Hemminger <shemminger@vyatta•com>
Cc: <netdev@vger•kernel.org>, Larry Baker <baker@usgs•gov>
Subject: [PATCH] iproute2: Document the -D and -I options
Date: Mon, 11 Mar 2013 14:59:37 -0700	[thread overview]
Message-ID: <87r4jliomu.fsf@xmission.com> (raw)


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

                 reply	other threads:[~2013-03-11 21:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4jliomu.fsf@xmission.com \
    --to=ebiederm@xmission$(echo .)com \
    --cc=baker@usgs$(echo .)gov \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=shemminger@vyatta$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox