X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdp.c;h=c94c8eac0ccfb33cf48e69b9e15c1e729b39b492;hb=56f52a606b02d40fdc92b9012c7835679163cd5c;hp=0041198a095a1e29740f766ab454b9a8252f162d;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/dp.c b/uip/dp.c index 0041198..c94c8ea 100644 --- a/uip/dp.c +++ b/uip/dp.c @@ -2,12 +2,14 @@ /* * 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 +28,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -133,6 +135,7 @@ main (int argc, char **argv) context_save (); /* save the context file */ done (status); + return 1; }