aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-06 22:50:11 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-06 22:50:11 +0000
commit2e2ef32c324e1234778fa53f296898785edb0b9e (patch)
treec803e11b545f05310c65c4dac7b21c09de9ef709
parentnetstat: fix typo in udp display (diff)
downloadnet-tools-2e2ef32c324e1234778fa53f296898785edb0b9e.tar.gz
net-tools-2e2ef32c324e1234778fa53f296898785edb0b9e.tar.bz2
net-tools-2e2ef32c324e1234778fa53f296898785edb0b9e.zip
arp: document the existing -e/-t options
-rw-r--r--arp.c3
-rw-r--r--man/en_US/arp.87
2 files changed, 7 insertions, 3 deletions
diff --git a/arp.c b/arp.c
index 3dd7187..924f416 100644
--- a/arp.c
+++ b/arp.c
@@ -8,7 +8,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
- * Version: $Id: arp.c,v 1.26 2009/07/08 00:24:03 ecki Exp $
+ * Version: $Id: arp.c,v 1.27 2009/09/06 22:50:11 vapier Exp $
*
* Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de>
*
@@ -630,6 +630,7 @@ static void usage(void)
fprintf(stderr, _(" arp [-v] [<HW>] [-i <if>] -Ds <host> <if> [netmask <nm>] pub <-''-\n\n"));
fprintf(stderr, _(" -a display (all) hosts in alternative (BSD) style\n"));
+ fprintf(stderr, _(" -e display (all) hosts in default (Linux) style\n"));
fprintf(stderr, _(" -s, --set set a new ARP entry\n"));
fprintf(stderr, _(" -d, --delete delete a specified entry\n"));
fprintf(stderr, _(" -v, --verbose be verbose\n"));
diff --git a/man/en_US/arp.8 b/man/en_US/arp.8
index 7cda156..7663243 100644
--- a/man/en_US/arp.8
+++ b/man/en_US/arp.8
@@ -8,7 +8,7 @@ arp \- manipulate the system ARP cache
.IR type ]
.RB [ \-i
.IR if ]
-.RB [ \-a ]
+.RB [ \-ae ]
.RI [ hostname ]
.PP
.B arp
@@ -115,7 +115,7 @@ Tell the user what is going on by being verbose.
shows numerical addresses instead of trying to determine symbolic host, port
or user names.
.TP
-.B "\-H type, \-\-hw\-type type"
+.B "\-H type, \-\-hw\-type type, \-t type"
When setting or reading the ARP cache, this optional parameter tells
.B arp
which class of entries it should check for. The default value of
@@ -134,6 +134,9 @@ and
.B \-a
Use alternate BSD style output format (with no fixed columns).
.TP
+.B \-e
+Use default Linux style output format (with fixed columns).
+.TP
.B "\-D, \-\-use-device"
Instead of a hw_addr, the given argument is the name of an interface.
.B arp