X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparam.c;h=d2603522f858a5f9bb497280773c178a5ffb8657;hb=5e5e8b753acc7ff1e16c7fca172a2151a6c01353;hp=19f418e918a12399736c1a6e274b167086df4c13;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/uip/mhparam.c b/uip/mhparam.c index 19f418e..d260352 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 @@ -30,7 +29,7 @@ static struct swit switches[] = { #define HELPSW 4 { "help", 0 }, #define DEBUGSW 5 - { "debug", -5 }, + { "debug", 5 }, { NULL, 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; /*