Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / ali.c
index 41f92a6..61ab6b2 100644 (file)
--- a/uip/ali.c
+++ b/uip/ali.c
@@ -87,10 +87,10 @@ main (int argc, char **argv)
                    snprintf (buf, sizeof(buf), "%s [switches] aliases ...",
                        invo_name);
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version (invo_name);
-                   done (1);
+                   done (0);
 
                case ALIASW: 
                    if (!(cp = *argp++) || *cp == '-')