X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparam.c;h=53a252387bccffd06f65411d45ee70d8ebc2378d;hb=ad3fe946829f332d241a789c4e7758d6f7aba003;hp=19f418e918a12399736c1a6e274b167086df4c13;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/uip/mhparam.c b/uip/mhparam.c index 19f418e..53a2523 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -16,7 +16,6 @@ extern char *mhlibdir; extern char *mhetcdir; char *sbackup = BACKUP_PREFIX; -char *slink = LINK; static struct swit switches[] = { #define COMPSW 0 @@ -43,9 +42,9 @@ static struct proc procs [] = { { "context", &context }, { "mh-sequences", &mh_seq }, { "buildmimeproc", &buildmimeproc }, - { "faceproc", &faceproc }, { "fileproc", &fileproc }, { "foldprot", &foldprot }, + { "formatproc", &formatproc }, { "incproc", &incproc }, { "installproc", &installproc }, { "lproc", &lproc }, @@ -56,7 +55,6 @@ static struct proc procs [] = { { "mshproc", &mshproc }, { "packproc", &packproc }, { "postproc", &postproc }, - { "rmfproc", &rmfproc }, { "rmmproc", &rmmproc }, { "sendproc", &sendproc }, { "showmimeproc", &showmimeproc }, @@ -68,7 +66,6 @@ static struct proc procs [] = { { "etcdir", &mhetcdir }, { "libdir", &mhlibdir }, { "sbackup", &sbackup }, - { "link", &slink }, { NULL, NULL }, }; @@ -109,10 +106,10 @@ main(int argc, char **argv) snprintf (buf, sizeof(buf), "%s [profile-components] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case COMPSW: components = 1; @@ -148,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; /*