]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuild.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / mhbuild.c
index 020512d77111f421ece58af480b2dde5e8eef759..c612fc5521f82841a3b86c5cb9537c319e92971b 100644 (file)
@@ -157,10 +157,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 RCACHESW:
                icachesw = &rcachesw;