]> diplodocus.org Git - nmh/blobdiff - uip/dp.c
Be more picky about symbolic time zones, and accept either a symbolic
[nmh] / uip / dp.c
index 0041198a095a1e29740f766ab454b9a8252f162d..687d4c449236e22d77d481e4f9b0a5c58d12b56b 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -7,7 +7,7 @@
 
 #include <h/mh.h>
 #include <h/fmt_scan.h>
-#include <zotnet/tws/tws.h>
+#include <h/tws.h>
 
 #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);
 }