]> git.marmaro.de Git - mmh/blobdiff - uip/prompter.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / prompter.c
index 981e8201b4f378a9e97383e9a03dd07e3f7a273a..795e4724d4966061c274ef7423606896a15ad555 100644 (file)
@@ -109,10 +109,10 @@ main (int argc, char **argv)
                    snprintf (buffer, sizeof(buffer), "%s [switches] file",
                        invo_name);
                    print_help (buffer, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case ERASESW: 
                    if (!(erasep = *argp++) || *erasep == '-')