X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fdp.c;h=687d4c449236e22d77d481e4f9b0a5c58d12b56b;hp=0041198a095a1e29740f766ab454b9a8252f162d;hb=0f540a390a62d9732f61fdb21f82048093a3d63d;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b 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); }