Commit 2e2ef32c authored by Mike Frysinger's avatar Mike Frysinger

arp: document the existing -e/-t options

parent 15cf547d
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* NET-3 Networking Distribution for the LINUX operating * NET-3 Networking Distribution for the LINUX operating
* system. * 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> * Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de>
* *
...@@ -630,6 +630,7 @@ static void usage(void) ...@@ -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, _(" 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, _(" -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, _(" -s, --set set a new ARP entry\n"));
fprintf(stderr, _(" -d, --delete delete a specified entry\n")); fprintf(stderr, _(" -d, --delete delete a specified entry\n"));
fprintf(stderr, _(" -v, --verbose be verbose\n")); fprintf(stderr, _(" -v, --verbose be verbose\n"));
......
...@@ -8,7 +8,7 @@ arp \- manipulate the system ARP cache ...@@ -8,7 +8,7 @@ arp \- manipulate the system ARP cache
.IR type ] .IR type ]
.RB [ \-i .RB [ \-i
.IR if ] .IR if ]
.RB [ \-a ] .RB [ \-ae ]
.RI [ hostname ] .RI [ hostname ]
.PP .PP
.B arp .B arp
...@@ -115,7 +115,7 @@ Tell the user what is going on by being verbose. ...@@ -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 shows numerical addresses instead of trying to determine symbolic host, port
or user names. or user names.
.TP .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 When setting or reading the ARP cache, this optional parameter tells
.B arp .B arp
which class of entries it should check for. The default value of which class of entries it should check for. The default value of
...@@ -134,6 +134,9 @@ and ...@@ -134,6 +134,9 @@ and
.B \-a .B \-a
Use alternate BSD style output format (with no fixed columns). Use alternate BSD style output format (with no fixed columns).
.TP .TP
.B \-e
Use default Linux style output format (with fixed columns).
.TP
.B "\-D, \-\-use-device" .B "\-D, \-\-use-device"
Instead of a hw_addr, the given argument is the name of an interface. Instead of a hw_addr, the given argument is the name of an interface.
.B arp .B arp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment