]> git.marmaro.de Git - mmh/blobdiff - uip/mhn.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / mhn.c
index 3d8801eec3753e17181837bd7fd2ca9a30c8ac89..d8826a120870bfa26de2c658baeffe2b2fffe643 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -240,10 +240,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++;