Re: arp: Fix synopsis

2017-06-19 Thread Theo de Raadt
> On Mon, Jun 19, 2017 at 12:15:49PM +0200, Klemens Nanni wrote: > > 'arp -[d]a' do not require hostname as told in the manual page. > > > > A single fprintf() is both shorter and cleaner. > > > > this diff suggest that running arp without arguments should work, but it > does not. > > there are

Re: arp: Fix synopsis

2017-06-19 Thread Jason McIntyre
On Mon, Jun 19, 2017 at 12:15:49PM +0200, Klemens Nanni wrote: > 'arp -[d]a' do not require hostname as told in the manual page. > > A single fprintf() is both shorter and cleaner. > this diff suggest that running arp without arguments should work, but it does not. there are a few approaches i

arp: Fix synopsis

2017-06-19 Thread Klemens Nanni
'arp -[d]a' do not require hostname as told in the manual page. A single fprintf() is both shorter and cleaner. Index: arp.8 === RCS file: /cvs/src/usr.sbin/arp/arp.8,v retrieving revision 1.39 diff -u -p -r1.39 arp.8 --- arp.8