X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mymail.git;a=blobdiff_plain;f=mymail.c;h=88c01f509a5da89808282ef097696831815c96c9;hp=a29fedbd24855124bb8b4f3e1af2617d312f6fe7;hb=00434484dd0b89eb91cb6ea9be03eeaee1f97751;hpb=b956ec62e047fc0cd39b88bc5ee4066982cd93e0 diff --git a/mymail.c b/mymail.c index a29fedb..88c01f5 100644 --- a/mymail.c +++ b/mymail.c @@ -229,7 +229,7 @@ void print_usage(FILE *out) { fprintf(out, " set the mbox filename pattern for recursive search\n"); fprintf(out, " -s , --search \n"); fprintf(out, " search for matching mails in the db file\n"); - fprintf(out, " -d , --db-file-generate \n"); + fprintf(out, " -d , --db-file-output \n"); fprintf(out, " set the db filename for indexing\n"); fprintf(out, " -i, --index\n"); fprintf(out, " index mails\n"); @@ -739,7 +739,7 @@ static struct option long_options[] = { { "version", no_argument, 0, 'v' }, { "quiet", no_argument, 0, 'q' }, { "use-leading-time", no_argument, 0, 't' }, - { "db-file-generate", 1, 0, 'd' }, + { "db-file-output", 1, 0, 'd' }, { "db-pattern", 1, 0, 'p' }, { "db-root", 1, 0, 'r' }, { "db-list", 1, 0, 'l' }, @@ -767,6 +767,7 @@ static struct time_criterion time_criteria[] = { { "48h", 0, 48, -1, -1 }, { "week", 0, 24 * 7, -1, -1 }, { "month", 0, 24 * 31, -1, -1 }, + { "trimester", 0, 24 * 92, -1, -1 }, { "year", 0, 24 * 365, -1, -1 }, { "yesterday", 1, -1, -1, -1 },