X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdp.c;h=687d4c449236e22d77d481e4f9b0a5c58d12b56b;hb=7879ea4084333b448c5a3a49c1cb52023e3808d1;hp=0041198a095a1e29740f766ab454b9a8252f162d;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/dp.c b/uip/dp.c index 0041198..687d4c4 100644 --- a/uip/dp.c +++ b/uip/dp.c @@ -7,7 +7,7 @@ #include #include -#include +#include #define NDATES 100 @@ -26,7 +26,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -132,7 +132,7 @@ main (int argc, char **argv) status += process (dates[datep], width); context_save (); /* save the context file */ - done (status); + return done (status); }