X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fdp.c;h=6b41bb627403708b2b87d13d549f741f0833fef5;hp=a9bc90f1023fae1be357f7249d409a2630263775;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=197f95940cc0860683e6988352f721e6603f9339 diff --git a/uip/dp.c b/uip/dp.c index a9bc90f..6b41bb6 100644 --- a/uip/dp.c +++ b/uip/dp.c @@ -3,11 +3,15 @@ * dp.c -- parse dates 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 NDATES 100 @@ -26,7 +30,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -132,7 +136,8 @@ main (int argc, char **argv) status += process (dates[datep], width); context_save (); /* save the context file */ - return done (status); + done (status); + return 1; }