X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparam.c;h=d2603522f858a5f9bb497280773c178a5ffb8657;hb=ab3e934551e83f49a04975b05c11c1b3d5768642;hp=f9f78c349e9ee62eae60f2b390b571704a91ae94;hpb=38615191e71744b066425e0c44412b62dbe49cc2;p=mmh diff --git a/uip/mhparam.c b/uip/mhparam.c index f9f78c3..d260352 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. @@ -18,7 +16,6 @@ extern char *mhlibdir; extern char *mhetcdir; char *sbackup = BACKUP_PREFIX; -char *slink = LINK; static struct swit switches[] = { #define COMPSW 0 @@ -32,7 +29,7 @@ static struct swit switches[] = { #define HELPSW 4 { "help", 0 }, #define DEBUGSW 5 - { "debug", -5 }, + { "debug", 5 }, { NULL, 0 } }; @@ -45,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 }, @@ -58,7 +55,6 @@ static struct proc procs [] = { { "mshproc", &mshproc }, { "packproc", &packproc }, { "postproc", &postproc }, - { "rmfproc", &rmfproc }, { "rmmproc", &rmmproc }, { "sendproc", &sendproc }, { "showmimeproc", &showmimeproc }, @@ -70,7 +66,6 @@ static struct proc procs [] = { { "etcdir", &mhetcdir }, { "libdir", &mhlibdir }, { "sbackup", &sbackup }, - { "link", &slink }, { NULL, NULL }, }; @@ -111,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; @@ -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; /*