src/strip.vala
authorAlan Knowles <alan@roojs.com>
Wed, 9 May 2018 09:56:06 +0000 (17:56 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 May 2018 09:56:06 +0000 (17:56 +0800)
src/strip.vala

index 2212ca4..7645983 100644 (file)
@@ -118,7 +118,8 @@ public class StripApplication : GLib.Application {
                { "dump", 0, 0, OptionArg.NONE, ref opt_dump, "Print the replaced mail contents to stdout", null },         
 
                { "limit", 0, 0, OptionArg.INT, ref opt_limit, "stop after X number of messages with attachments have been processed", null },         
-               { "min-age", 0, 0, OptionArg.INT, ref opt_min_age, "minimum age of messages (default is 6 months)", null },
+               { "newest", 0, 0, OptionArg.INT, ref opt_age_newest, "do not replace messages newer that X months (default is 1 months)", null },
+               { "oldest", 0, 0, OptionArg.INT, ref opt_age_oldest, "do not replace messages older than X (default is 6 months)", null },
 
                { "scan-maildir", 0, 0, OptionArg.NONE, ref opt_scan_maildir, "scan an maildir tree", null },
                { "scan-mailfort", 0, 0, OptionArg.NONE, ref opt_scan_mailfort, "scan a mailfort tree", null },