change in registration options
Dan Stromberg
strombrg at dcs.nac.uci.edu
Fri Feb 28 00:09:53 CET 2003
On Thu, 2003-02-27 at 15:06, David Relson wrote:
> At 06:00 PM 2/27/03, Dan Stromberg wrote:
> >
> > > -u is already used and means update. If '-u' is specified, after
> > > classifying a message as spam, bogofilter will add the words to the spam
> > > wordlist. If the messag is not spam, bogofilter will update the goodlist.
> >
> >Ah, must have appeared in a more recent version of bogofilter than what
> >I'm running.
>
> It's in 0.7.5 from last October...
Ok. I haven't updated in a while. I often don't update unless there's
a security problem or a pretty significant new feature.
>
> > > '-U' has been suggested as a modifier to '-S' and '-N', so '-SU' would
> > > unregister spam and '-NU' would unregister ham.
> >
> >This sounds reasonable, but can it be made getopt without breaking
> >backward compatibility?
>
> getopt doesn't care if they're together or separate, i.e. "-NU" is the same
> as '-U -N'
But can it have an option that both takes an argument, and doesn't take
an argument? IE, can "-N" mean something by itself, as well as "-NU"?
In the getopt argument, you only have -N: and -N.
--
Dan Stromberg DCS/NACS/UCI <strombrg at dcs.nac.uci.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20030227/9de8f660/attachment.sig>
More information about the Bogofilter
mailing list