]> git.marmaro.de Git - mmh/blobdiff - uip/sortm.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / sortm.c
index 9e8da9f6227d3fbed516da4fac74d0e484d6622b..607a7c27e832d600dce26f443a937669404ceb47 100644 (file)
@@ -103,10 +103,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 DATESW:
                if (datesw)