[Avcheck] Removing of long options?

Ralf Hildebrandt Ralf.Hildebrandt@innominate.com
Wed, 1 Aug 2001 15:46:42 +0200


On Wed, Aug 01, 2001 at 05:43:32PM +0400, Michael Tokarev wrote:

> I got some significant number of questions about
> why avpcheck can't be compiled on FreeBSD
> (getopt.h: no such file or directory).  So
> the question: is it ok to remove long options
> altogether, and be like compiled with
> -DNO_GETOPT_LONG? 

No. The long options are way better to read in master.cf !

avpcheck  unix  -       n       n       -       10      pipe
     user=avpc argv=/var/spool/avp/avpcheck
     --bounce
     --syslog
     --alertrcpt
     -d /var/spool/avp/./tst -s /var/spool/avp/ctl/AvpCtl
     -S:1025 -f ${sender} -- ${recipient}
			      

> I personally prefer to
> use *understandable* options (even in config
> files I touch unfrequently, like postfix's
> master.cf).

Me too!

> Or, it should be just packaged
> properly, with something like configure script
> and/or with it's own getopt (taken from
> any gnu source)?

That would be preferable!

-- 
ralf.hildebrandt@innominate.com                            innominate AG
Technical Consultant                   Don't be afraid of what you see -
Diplom-Informatiker                     be afraid of what you don't see!
tel: +49.(0)7000.POSTFIX                        fax: +49.(0)30.308806-77