remove patchlist things, and more generated and commited things.
[apps/madmutt.git] / main.c
diff --git a/main.c b/main.c
index 9431929..aaa8877 100644 (file)
--- a/main.c
+++ b/main.c
@@ -507,8 +507,7 @@ static void show_version (void)
 
   puts (_(ReachingUs));
 
-  puts (_("Mutt-ng is based on the following patches written for mutt:\n"));
-  mutt_print_patchlist ();
+  puts (_("MadMutt is based on Mutt-ng wich was based on Mutt before\n"));
 
   exit (0);
 }
@@ -648,9 +647,12 @@ int main (int argc, char **argv)
 
     case 'd':
       {
-        char puke[20];
-        snprintf (puke, sizeof (puke), "set debug_level=%d", atoi (optarg));
-        commands = mutt_add_list (commands, puke);
+        char buf[LONG_STRING];
+        int level = atoi (optarg);
+
+        snprintf (buf, sizeof (buf), "set debug_level=%d", level);
+        commands = mutt_add_list (commands, buf);
+        debug_setlevel (level);
       }
       break;