]> git.marmaro.de Git - mmh/blobdiff - uip/folder.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / folder.c
index 0676bea06314b0c3d9cb92e34983a38a9c70bd04..aea20f4a96176905cc55c649aee69ef94f1cd906 100644 (file)
@@ -151,10 +151,10 @@ main (int argc, char **argv)
                    snprintf (buf, sizeof(buf), "%s [+folder] [msg] [switches]",
                        invo_name);
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case ALLSW: 
                    all = 1;