option usage and checking
David Relson
relson at osagesoftware.com
Sat Oct 26 14:23:39 CEST 2002
Good morning,
Looking at bogofilter's options, I see two mutually exclusive groupings:
classification - '-p', '-e', '-l', '-u'
registration - '-s', '-n', '-S', '-N'
I have added a check to detect use of options from both groups. When this
happens, a message is printed and bogofilter terminates (with exitcode 2).
I am _not_ planning on a comprehensive test of every possible valid/invalid
combination of options. However, if there are other reasonable checks to
add, let me know.
David
--------------------------------------------------------
David Relson Osage Software Systems, Inc.
relson at osagesoftware.com Ann Arbor, MI 48103
www.osagesoftware.com tel: 734.821.8800
More information about the Bogofilter
mailing list