]> git.marmaro.de Git - mmh/blobdiff - uip/post.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / post.c
index c9b4c05162c323ea40242e6f98909e55135afa88..11162996fe422cb2089e85b26ffe3132317a34c0 100644 (file)
@@ -343,10 +343,10 @@ main (int argc, char **argv)
                case HELPSW: 
                    snprintf (buf, sizeof(buf), "%s [switches] file", invo_name);
                    print_help (buf, switches, 0);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case LIBSW:
                    if (!(cp = *argp++) || *cp == '-')