X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fmhparam.c;h=eae587de5541c481e94d4bfcc70433da034b52d9;hb=916690191222433a6923a4be54b0d8f6ac01bd02;hp=0b60b03291bad25d0ca0618de19b09fe7e425f6b;hpb=d2f12554a254e814dcdafb3828fc0d9936154eef;p=mmh diff --git a/uip/mhparam.c b/uip/mhparam.c index 0b60b03..eae587d 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -5,8 +5,6 @@ * Originally contributed by * Jeffrey C Honig * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -17,9 +15,6 @@ extern char *mhlibdir; extern char *mhetcdir; -char *sbackup = BACKUP_PREFIX; -char *slink = LINK; - static struct swit switches[] = { #define COMPSW 0 { "components", 0 }, @@ -45,6 +40,7 @@ static struct proc procs [] = { { "context", &context }, { "mh-sequences", &mh_seq }, { "buildmimeproc", &buildmimeproc }, + { "editor", &defaulteditor }, { "faceproc", &faceproc }, { "fileproc", &fileproc }, { "foldprot", &foldprot }, @@ -55,22 +51,21 @@ static struct proc procs [] = { { "mhlproc", &mhlproc }, { "moreproc", &moreproc }, { "msgprot", &msgprot }, - { "mshproc", &mshproc }, { "packproc", &packproc }, { "postproc", &postproc }, { "rmfproc", &rmfproc }, { "rmmproc", &rmmproc }, + { "sendmail", &sendmail }, { "sendproc", &sendproc }, { "showmimeproc", &showmimeproc }, { "showproc", &showproc }, { "version", &version_num }, - { "vmhproc", &vmhproc }, { "whatnowproc", &whatnowproc }, { "whomproc", &whomproc }, { "etcdir", &mhetcdir }, { "libdir", &mhlibdir }, - { "sbackup", &sbackup }, - { "link", &slink }, + { "backup-prefix", &backup_prefix }, + { "altmsg-link", &altmsglink }, { NULL, NULL }, }; @@ -150,7 +145,7 @@ main(int argc, char **argv) for (np = m_defs; np; np = np->n_next) printf("%s: %s\n", np->n_name, np->n_field); - } if (debug) { + } else if (debug) { struct proc *ps; /* @@ -181,7 +176,8 @@ main(int argc, char **argv) } } - return done (missed); + done (missed); + return 1; }