X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=main.c;h=d604a5441aa736df7ac2426944cc302d1136d8f1;hb=5f6b586de5a46f2359a4fc392fd89f1716d847a3;hp=1458f7228815150f67050537d2a65bde09351bca;hpb=deba1a6bedde867b8b52d63021fabfe3953b8a10;p=apps%2Fmadmutt.git diff --git a/main.c b/main.c index 1458f72..d604a54 100644 --- a/main.c +++ b/main.c @@ -639,10 +639,11 @@ int main (int argc, char **argv) break; case 'd': - debug_setlevel(atoi(optarg)); -#ifndef DEBUG - printf _("DEBUG was not defined during compilation. Ignored.\n"); -#endif + { + char puke[20]; + snprintf (puke, sizeof (puke), "set debug_level=%d", atoi (optarg)); + commands = mutt_add_list (commands, puke); + } break; case 't': @@ -707,7 +708,7 @@ int main (int argc, char **argv) { char buf[LONG_STRING]; - snprintf (buf, sizeof (buf), "set news_server=%s", optarg); + snprintf (buf, sizeof (buf), "set nntp_host=%s", optarg); commands = mutt_add_list (commands, buf); }