[cvs] bogofilter/src bogoutil.c,1.91,1.92
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@pr...> - 2004-01-24 22:54:16
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6997 Modified Files: bogoutil.c Log Message: Add '-X' option for setting bogotest mask. Index: bogoutil.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/bogoutil.c,v retrieving revision 1.91 retrieving revision 1.92 diff -u -d -r1.91 -r1.92 --- bogoutil.c 22 Jan 2004 02:13:16 -0000 1.91 +++ bogoutil.c 24 Jan 2004 22:53:40 -0000 1.92 @@ -475,9 +475,9 @@ cmd_t flag = M_NONE; #ifndef ENABLE_DEPRECATED_CODE -#define OPTIONS ":a:c:d:DhH:I:k:l:m:np:r:R:s:vVw:x:y:" +#define OPTIONS ":a:c:d:DhH:I:k:l:m:np:r:R:s:vVw:x:X:y:" #else -#define OPTIONS ":a:c:d:DhH:I:k:l:m:np:r:R:s:vVw:Wx:y:" +#define OPTIONS ":a:c:d:DhH:I:k:l:m:np:r:R:s:vVw:Wx:X:y:" #endif static int process_args(int argc, char **argv) @@ -566,6 +566,10 @@ set_debug_mask( (char *) optarg ); break; + case 'X': + set_bogotest( optarg ); + break; + case 'a': maintain = true; thresh_date = string_to_date((char *)optarg); |