* uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast
[mmh] / uip / ap.c
index 7e16b92..ea2d36d 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -3,11 +3,16 @@
  * ap.c -- parse addresses 822-style
  *
  * $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
  */
 
 #include <h/mh.h>
 #include <h/addrsbr.h>
 #include <h/fmt_scan.h>
+#include <h/mts.h>
 
 #define        NADDRS  100
 
@@ -30,7 +35,7 @@ static struct swit switches[] = {
 #define VERSIONSW 5
     { "version", 0 },
 #define        HELPSW  6
-    { "help", 4 },
+    { "help", 0 },
     { NULL, 0 }
 };
 
@@ -147,6 +152,7 @@ main (int argc, char **argv)
        status += process (addrs[addrp], width, normalize);
 
     done (status);
+    return 1;
 }
 
 struct pqpair {