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

index 429c161..4d25330 100644 (file)
@@ -144,7 +144,7 @@ public class StripApplication : GLib.Application {
  
                            
              // options that have to be set.. bee or hive... (or stop all)
-            if ((!opt_scan_mailfort && !opt_scan_imap) || (opt_scan_mailfort && opt_scan_imap))  {
+            if ((!opt_scan_mailfort && !opt_scan_maildir) || (opt_scan_mailfort && opt_scan_maildir))  {
                stdout.printf ("You must specify the type of directory tree to scan - either imap or mailfort\n%s",
                    opt_context.get_help(true, null));
                GLib.Process.exit(Posix.EXIT_FAILURE);