netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Sabata <contyk@redhat.com>
To: netdev@vger.kernel.org
Cc: Petr Sabata <contyk@redhat.com>
Subject: [PATCH 3/3] iproute2: arpd - fix usage and manpage options
Date: Thu,  6 Oct 2011 14:45:34 +0200	[thread overview]
Message-ID: <1317905134-23175-4-git-send-email-contyk@redhat.com> (raw)
In-Reply-To: <1317905134-23175-1-git-send-email-contyk@redhat.com>

Signed-off-by: Petr Sabata <contyk@redhat.com>
---
 man/man8/arpd.8 |    4 ++--
 misc/arpd.c     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man/man8/arpd.8 b/man/man8/arpd.8
index d172600..37b6ba4 100644
--- a/man/man8/arpd.8
+++ b/man/man8/arpd.8
@@ -4,7 +4,7 @@
 arpd \- userspace arp daemon.
 
 .SH SYNOPSIS
-Usage: arpd [ -lk ] [ -a N ] [ -b dbase ] [ -f file ] [ interfaces ]
+Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ]
 
 .SH DESCRIPTION
 The
@@ -34,7 +34,7 @@ Suppress sending broadcast queries by kernel. It takes sense together with optio
 -n <TIME>
 Timeout of negative cache. When resolution fails arpd suppresses further attempts to resolve for this period. It makes sense only together with option -k This timeout should not be too much longer than boot time of a typical host not supporting gratuitous ARP. Default value is 60 seconds.
 .TP
--r <RATE>
+-R <RATE>
 Maximal steady rate of broadcasts sent by arpd in packets per second. Default value is 1.
 .TP
 -B <NUMBER>
diff --git a/misc/arpd.c b/misc/arpd.c
index 128c49d..124d3fb 100644
--- a/misc/arpd.c
+++ b/misc/arpd.c
@@ -94,7 +94,7 @@ int broadcast_burst = 3000;
 void usage(void)
 {
 	fprintf(stderr,
-"Usage: arpd [ -lk ] [ -a N ] [ -b dbase ] [ -f file ] [ interfaces ]\n");
+"Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ]\n");
 	exit(1);
 }
 
-- 
1.7.6.4

  parent reply	other threads:[~2011-10-06 12:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 12:45 [PATCH 0/3] iproute2: various usage and doc fixes Petr Sabata
2011-10-06 12:45 ` [PATCH 1/3] iproute2: ss - fix missing parameters Petr Sabata
2011-10-06 12:45 ` [PATCH 2/3] iproute2: lnstat - fix typos Petr Sabata
2011-10-06 12:45 ` Petr Sabata [this message]
2011-10-06 15:25 ` [PATCH 0/3] iproute2: various usage and doc fixes Stephen Hemminger

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=1317905134-23175-4-git-send-email-contyk@redhat.com \
    --to=contyk@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).