]> git.marmaro.de Git - mmh/blobdiff - uip/rcvpack.c
Whoever originally added the -help switch to all the commands got too cute and
[mmh] / uip / rcvpack.c
index 1520cbe147879e6612efc4ae98493495d1f09039..f5b1c0545c7542b31429ff8dad5120bcfcbf4dba 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);
 }