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