Whoever originally added the -help switch to all the commands got too cute and
[mmh] / uip / ap.c
index 7e16b92..dde1175 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -8,6 +8,7 @@
 #include <h/mh.h>
 #include <h/addrsbr.h>
 #include <h/fmt_scan.h>
+#include <zotnet/mts/mts.h>
 
 #define        NADDRS  100
 
@@ -30,7 +31,7 @@ static struct swit switches[] = {
 #define VERSIONSW 5
     { "version", 0 },
 #define        HELPSW  6
-    { "help", 4 },
+    { "help", 0 },
     { NULL, 0 }
 };
 
@@ -146,7 +147,7 @@ main (int argc, char **argv)
     for (addrp = 0; addrs[addrp]; addrp++)
        status += process (addrs[addrp], width, normalize);
 
-    done (status);
+    return done (status);
 }
 
 struct pqpair {