Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h>
[mmh] / uip / forw.c
index ade775e..661a084 100644 (file)
@@ -8,7 +8,7 @@
 #include <h/mh.h>
 #include <fcntl.h>
 #include <h/fmt_scan.h>
-#include <zotnet/tws/tws.h>
+#include <h/tws.h>
 
 
 #define        IFORMAT "digest-issue-%s"
@@ -62,13 +62,13 @@ static struct swit switches[] = {
 #define VERSIONSW             22
     { "version", 0 },
 #define        HELPSW                23
-    { "help", 4 },
+    { "help", 0 },
 #define        FILESW                24
-    { "file file", -4 },               /* interface from msh */
+    { "file file", 4 },                        /* interface from msh */
 
 #ifdef MHE
 #define        BILDSW                25
-    { "build", -5 },                   /* interface from mhe */
+    { "build", 5 },                    /* interface from mhe */
 #endif /* MHE */
 
     { NULL, 0 }
@@ -447,7 +447,7 @@ try_it_again:
        done (0);
     what_now (ed, nedit, NOUSE, drft, NULL, 0, mp,
        anot ? "Forwarded" : NULL, inplace, cwd);
-    done (1);
+    return done (1);
 }