Whoever originally added the -help switch to all the commands got too cute and
[mmh] / uip / scan.c
index 1f9b8c0..7f5cf46 100644 (file)
@@ -9,6 +9,7 @@
 #include <h/fmt_scan.h>
 #include <h/scansbr.h>
 #include <zotnet/tws/tws.h>
+#include <zotnet/mts/mts.h>
 #include <errno.h>
 
 /*
@@ -42,7 +43,7 @@ static struct swit switches[] = {
 #define VERSIONSW 10
     { "version", 0 },
 #define        HELPSW  11
-    { "help", 4 },
+    { "help", 0 },
     { NULL, 0 }
 };
 
@@ -347,5 +348,5 @@ main (int argc, char **argv)
     if (clearflag)
        clear_screen ();
 
-    done (0);
+    return done (0);
 }