]> git.marmaro.de Git - mmh/blobdiff - uip/mhlist.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / mhlist.c
index 312705ad35178ab4850758a08e7a9b663fc0b886..72b91d1dff4249acbb82f61a4201a400481cceac 100644 (file)
@@ -151,10 +151,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;