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

index ed6af9f..429c161 100644 (file)
@@ -87,7 +87,7 @@ public class StripApplication : GLib.Application {
 
        public static bool      opt_is_extracting = false;
        public static bool      opt_is_replacing = false;
-       public static bool      opt_scan_imap  = false; 
+       public static bool      opt_scan_maildir  = false; 
        public static bool      opt_scan_mailfort  = false;     
        public static bool              opt_dump = false;       
        public static bool              opt_debug = false; 
@@ -120,7 +120,7 @@ public class StripApplication : GLib.Application {
                { "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 },
 
-               { "scan-imap", 0, 0, OptionArg.NONE, ref opt_scan_imap, "scan an imap tree", 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 },  
                { null }       
        };