X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3c9700d8d045f3ff26ce5dd2a174454dafc14822..386656ec3d9a80184f380a77169dc0a16bad89d5:/uip/mhparam.c diff --git a/uip/mhparam.c b/uip/mhparam.c index f6ebb651..f9f78c34 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -6,6 +6,10 @@ * 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. */ #include @@ -26,7 +30,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, #define DEBUGSW 5 { "debug", -5 }, { NULL, 0 } @@ -177,7 +181,8 @@ main(int argc, char **argv) } } - return done (missed); + done (missed); + return 1; } @@ -187,7 +192,7 @@ p_find(char *str) struct proc *ps; for (ps = procs; ps->p_name; ps++) - if (!strcasecmp (ps->p_name, str)) + if (!mh_strcasecmp (ps->p_name, str)) return (*ps->p_field); return NULL;