]> git.marmaro.de Git - mmh/blobdiff - uip/mhparam.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / mhparam.c
index 90d17fa2df2b502d99cb319c4d4f52b1758cbb42..9e6e05c8da92cadcd5408427727d3ede45ea6ed0 100644 (file)
@@ -107,10 +107,10 @@ main(int argc, char **argv)
                    snprintf (buf, sizeof(buf), "%s [profile-components] [switches]",
                        invo_name);
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case COMPSW:
                    components = 1;