Whoever originally added the -help switch to all the commands got too cute and
[mmh] / uip / rcvpack.c
index 1520cbe..f5b1c05 100644 (file)
@@ -19,7 +19,7 @@ static struct swit switches[] = {
 #define VERSIONSW    2
     { "version", 0 },
 #define        HELPSW       3
-    { "help", 4 },
+    { "help", 0 },
     { NULL, 0 }
 };
 
@@ -99,5 +99,5 @@ main (int argc, char **argv)
     if (mbx_close (file, md) == NOTOK)
        done (RCV_MBX);
 
-    done (RCV_MOK);
+    return done (RCV_MOK);
 }