Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / rcvpack.c
index 0b4dc9f..f9e5bbb 100644 (file)
@@ -63,10 +63,10 @@ main (int argc, char **argv)
                case HELPSW: 
                    snprintf (buf, sizeof(buf), "%s [switches] file", invo_name);
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case MBOXSW:
                    mbx_style = MBOX_FORMAT;