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