long options (was: bogofilter-0.16.2 - new current release)

Boris 'pi' Piwinger 3.14 at logic.univie.ac.at
Sun Jan 18 14:29:04 CET 2004


David Relson <relson at osagesoftware.com> wrote:

>> Why not use "--" to start config file options? Then a call to
>> bogofilter could look like this:
>> 
>> $ bogofilter --update_thresh=0.1 --ham_cutoff=0.1 -pluM < in > out
>> 
>> This is universal and doesn't have to get modified in the future at
>> all. So, with
>> 
>> $ bogofilter -C --foo=a --bar=b --wom=c --bat=d
>> 
>> you could bypass the config file completely and give all options on
>> the command line.
>> 
>> Comments?
>
>Sounds reasonable.  I can do it this afternoon if all are agreed it's
>the right way to go.

Very good. The remaining question would be which short
options should go then. My first thought is the options
which set parameters like robs, robx, min_dev etc.

Yes, this will break existing scripts, but this version is
the version to do this.

pi




More information about the bogofilter-dev mailing list