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);
case HELPSW:
snprintf(buf, sizeof(buf),
- "%s [addrs ... [switches]]",
+ "%s addrs... [switches]",
invo_name);
print_help(buf, switches, 0);
done(1);