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