X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fap.c;h=ea2d36d776e039afe3e73fe06bfe0a0be185674e;hp=11381f3c868851d963a1a1b2b18e1def6e1b5cf8;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=197f95940cc0860683e6988352f721e6603f9339 diff --git a/uip/ap.c b/uip/ap.c index 11381f3..ea2d36d 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -3,11 +3,16 @@ * ap.c -- parse addresses 822-style * * $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 #include #include +#include #define NADDRS 100 @@ -30,7 +35,7 @@ static struct swit switches[] = { #define VERSIONSW 5 { "version", 0 }, #define HELPSW 6 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -146,7 +151,8 @@ main (int argc, char **argv) for (addrp = 0; addrs[addrp]; addrp++) status += process (addrs[addrp], width, normalize); - return done (status); + done (status); + return 1; } struct pqpair {