bogoutil & config files [was: [cvs] tests ... ]

David Relson relson at osagesoftware.com
Wed Jan 5 02:33:04 CET 2005


On Wed, 05 Jan 2005 02:20:38 +0100
Matthias Andree wrote:

> relson at users.sourceforge.net writes:
> 
> > Update of /cvsroot/bogofilter/bogofilter/src/tests
> > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31163/tests
> >
> > Modified Files:
> > 	t.dump.load t.nonascii.replace t.robx t.wordhist 
> > Log Message:
> > Don't read config file in bogoutil tests.
> 
> Do we need a "-c" like option (-c is unfortunately assigned to a
> maintenance option) to tell bogoutil to read a different configuration
> file? -f perhaps?

Yes, there's a conflict in the options.  Rather than have a different
letter, for the rare case when a config file needs to be named, we could
use the long option, "--config-file=...".

At present "--config-file=..." maps to 'c' which is fine for bogofilter
and bogolexer, but not bogoutil.  Having it work calls for O_CONFIG_FILE
(to be accepted by bogofilter and bogolexer, and ignored by bogoutil).



More information about the bogofilter-dev mailing list