[spambayes-dev] -d/-D command line options

Tony Meyer ta-meyer at ihug.co.nz
Mon Feb 2 00:39:20 EST 2004


One other thing that I think would be good to sort out before the next
release (we're still doing one, right? <wink>) is getting the -d/-D command
line options consistent.

We currently have:

sb_xmlrpcserver: pickle: -p <filename>
                 dbm   : -p <filename> -d
sb_server      : pickle: -D <filename>
                 dbm   : -d <filename>
sb_notesfilter : pickle: -d <filename>
                 dbm   : -D <filename>
sb_mboxtrain   : pickle: -D <filename>
                 dbm   : -d <filename>
sb_imapfilter  : pickle: -d <filename>
                 dbm   : -D <filename>
sb_filter      : pickle: -D <filename>
                 dbm   : -d <filename>
sb_dbexpimp    : pickle: -d <filename>
                 dbm   : -D <filename>

So, ignoring the odd xmlrpcserver (the old hammie.py was like this, IIRC),
we have 3 -D for pickle, and 3 That use -d for pIckle, it seeMS.  The -D for
pickle ones are more widely used, though.

We also had a suggestion, though, that -d <filename> for dbm and -p
<filename> for pickle would make more sense:

<http://mail.python.org/pipermail/spambayes-dev/2003-July/000438.html>

So, what do people vote for?

1.  -D <filename> for pickle, -d <filename> for dbm
2.  -d <filename> for pickle, -D <filename> for dbm
3.  -p <filename> for pickle, -d <filename> for dbm
4.  The inconsistent status quo.

[This would close:
<https://sourceforge.net/tracker/?func=detail&atid=498103&aid=824628&group_i
d=61702>]

=Tony Meyer




More information about the spambayes-dev mailing list