Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / mhlsbr.c
index df0a223..36e78d3 100644 (file)
@@ -370,10 +370,10 @@ mhl (int argc, char **argv)
                case HELPSW: 
                    snprintf (buf, sizeof(buf), "%s [switches] [files ...]", invo_name);
                    print_help (buf, mhlswitches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case BELLSW: 
                    bellflg = 1;