]> diplodocus.org Git - nmh/blobdiff - uip/prompter.c
Can't use -ansi with gcc 4.5.3 on Cygwin, at least through setup
[nmh] / 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 == '-')