arp: document the existing -e/-t options
authorMike Frysinger <vapier@gentoo.org>
Sun, 6 Sep 2009 22:50:11 +0000 (22:50 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 6 Sep 2009 22:50:11 +0000 (22:50 +0000)
arp.c
man/en_US/arp.8

diff --git a/arp.c b/arp.c
index 3dd7187..924f416 100644 (file)
--- 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"));
index 7cda156..7663243 100644 (file)
@@ -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