Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / mhstore.c
index 7814dd2..41e62c7 100644 (file)
@@ -145,10 +145,10 @@ main (int argc, char **argv)
                snprintf (buf, sizeof(buf), "%s [+folder] [msgs] [switches]",
                        invo_name);
                print_help (buf, switches, 1);
-               done (1);
+               done (0);
            case VERSIONSW:
                print_version(invo_name);
-               done (1);
+               done (0);
 
            case AUTOSW:
                autosw++;