Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / refile.c
index 25f7629..2bd12ed 100644 (file)
@@ -100,10 +100,10 @@ main (int argc, char **argv)
                snprintf (buf, sizeof(buf), "%s [msgs] [switches] +folder ...",
                          invo_name);
                print_help (buf, switches, 1);
-               done (1);
+               done (0);
            case VERSIONSW:
                print_version(invo_name);
-               done (1);
+               done (0);
 
            case LINKSW: 
                linkf++;