Re: Better wording in ping error messages

2016-09-02 Thread Michal Mazurek
On 12:12:11, 2.09.16, Ted Unangst wrote: > Michal Mazurek wrote: > > worms(6) does this more concisely: > > > > errx(1, "length (2-1024) is %s: %s", errstr, > > there's multiple schools of thought here, but i've always preferred somewhat > shorter error messages. we tell the user it's too sm

Re: Better wording in ping error messages

2016-09-02 Thread Ted Unangst
Michal Mazurek wrote: > On 12:12:11, 2.09.16, Ted Unangst wrote: > > Michal Mazurek wrote: > > > worms(6) does this more concisely: > > > > > > errx(1, "length (2-1024) is %s: %s", errstr, > > > > there's multiple schools of thought here, but i've always preferred somewhat > > shorter error me

Re: Better wording in ping error messages

2016-09-02 Thread Ted Unangst
Michal Mazurek wrote: > worms(6) does this more concisely: > > errx(1, "length (2-1024) is %s: %s", errstr, there's multiple schools of thought here, but i've always preferred somewhat shorter error messages. we tell the user it's too small or too large already. if they need to know the exa

Better wording in ping error messages

2016-09-02 Thread Michal Mazurek
worms(6) does this more concisely: errx(1, "length (2-1024) is %s: %s", errstr, Index: ping.c === RCS file: /cvs/src/sbin/ping/ping.c,v retrieving revision 1.142 diff -u -p -r1.142 ping.c --- ping.c 30 Aug 2016 14:28:31