X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhmail.c;h=72771a7fcf5627f06d138004dc40fc7e80a82ba7;hp=2b8589f5330c90c6bff6367d94138d60d4a5b7cc;hb=d36e56e695fe1c482c7920644bfbb6386ac9edb0;hpb=be0ae81623aea2eca09b8faf699b4b407f527267 diff --git a/uip/mhmail.c b/uip/mhmail.c index 2b8589f..72771a7 100644 --- a/uip/mhmail.c +++ b/uip/mhmail.c @@ -60,10 +60,9 @@ main(int argc, char **argv) if (context_foil(NULL) == -1) done(1); - /* If no arguments, just incorporate new mail */ + /* Without arguments, exit. */ if (argc == 1) { - execlp(incproc, mhbasename(incproc), NULL); - adios(incproc, "unable to exec"); + adios(NULL, "no interactive mail shell. Use inc/scan/show instead."); } arguments = getarguments(invo_name, argc, argv, 0); @@ -80,7 +79,7 @@ main(int argc, char **argv) case HELPSW: snprintf(buf, sizeof(buf), - "%s [addrs ... [switches]]", + "%s addrs... [switches]", invo_name); print_help(buf, switches, 0); done(1);