]> git.marmaro.de Git - mmh/blobdiff - uip/mhmail.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / mhmail.c
index f5e5384adcc45248c9faf30a87d367cf0523ffe7..76e9e80095a8383c650ae175d0fcb2c34aa593b6 100644 (file)
@@ -84,10 +84,10 @@ main (int argc, char **argv)
                    snprintf (buf, sizeof(buf), "%s [addrs ... [switches]]",
                        invo_name);
                    print_help (buf, switches, 0);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case FROMSW: 
                    if (!(from = *argp++) || *from == '-')