[Spambayes] uniform command line treatment of database/pickle files?

Tim Stone - Four Stones Expressions tim at fourstonesExpressions.com
Mon Jan 27 11:54:54 EST 2003

1/27/2003 11:50:24 AM, Richie Hindle <richie at entrian.com> wrote:

>> Other than our convenience, I don't see any reason the different tools
>> should use different mechanisms to specify database or pickle files on the
>> command line.  Hammiefilter.py uses:
>>     -d DBFILE
>>         use database in DBFILE
>>         use pickle (instead of database) in PICKLEFILE
>> while pop3proxy.py uses:
>>     -p FILE : use the named database file
>>     -d      : the database is a DBM file rather than a pickle
>> I don't know if there are other ways the same information is spelled, but I
>> think it would be nice if a pass was made over the existing command line
>> arguments so that all command line tools use the same flags for the same
>> purpose.
>I'm not attached to either version, so by all means change one of them.
>I'd guess that more people are using command-line switches with hammie than
>with pop3proxy, so it should probably be pop3proxy that changes (but I
>don't have the time myself).  I don't know of any other tools that have
>similar switches, but I haven't looked.

I'll change pop3proxy so that -d/-D work.  I don't think I can keep -p/-d 
alive in the process...  -TimS

>Richie Hindle
>richie at entrian.com
>Spambayes mailing list
>Spambayes at python.org

c'est moi - TimS

More information about the Spambayes mailing list