From 2e2ef32c324e1234778fa53f296898785edb0b9e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 6 Sep 2009 22:50:11 +0000 Subject: [PATCH] arp: document the existing -e/-t options --- arp.c | 3 ++- man/en_US/arp.8 | 7 +++++-- 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, * @@ -630,6 +630,7 @@ static void usage(void) fprintf(stderr, _(" arp [-v] [] [-i ] -Ds [netmask ] 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 -- 2.7.4