X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fdist.c;h=b169352fbdcfe51dcb16927e61dd0b2622ed65d1;hp=dabfec75a7dd15bd51f6f1d8f032f2e35eeed052;hb=ee4f43cf2ef0084ec698e4e87159a94c01940622;hpb=8d77b48284c58c135a6b2787e721597346ab056d diff --git a/uip/dist.c b/uip/dist.c index dabfec7..b169352 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -23,11 +23,9 @@ static struct swit switches[] = { { "form formfile", 0 }, #define WHATSW 5 { "whatnowproc program", 0 }, -#define NWHATSW 6 - { "nowhatnowproc", 0 }, -#define VERSIONSW 7 +#define VERSIONSW 6 { "version", 0 }, -#define HELPSW 8 +#define HELPSW 7 { "help", 0 }, { NULL, 0 } }; @@ -37,7 +35,7 @@ int main(int argc, char **argv) { int anot = 0, nedit = 0; - int nwhat = 0, in, out; + int in, out; char *cp, *cwd, *maildir, *msgnam; char *ed = NULL, *folder = NULL; char *form = NULL, *msg = NULL, buf[BUFSIZ], drft[BUFSIZ]; @@ -94,10 +92,6 @@ main(int argc, char **argv) if (!(whatnowproc = *argp++) || *whatnowproc == '-') adios(NULL, "missing argument to %s", argp[-2]); - nwhat = 0; - continue; - case NWHATSW: - nwhat++; continue; case FORMSW: @@ -165,8 +159,6 @@ main(int argc, char **argv) seq_save(mp); /* synchronize sequences */ context_save(); - if (nwhat) - done(0); what_now(ed, nedit, NOUSE, drft, msgnam, 1, mp, anot ? "Resent" : NULL, cwd); done(1);