Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / new.c
index 38c8f0b..10854dc 100644 (file)
--- a/uip/new.c
+++ b/uip/new.c
@@ -438,10 +438,10 @@ main(int argc, char **argv)
                snprintf (help, sizeof(help), "%s [switches] [sequences]",
                          invo_name);
                print_help (help, switches, 1);
-               done (1);
+               done (0);
            case VERSIONSW:
                print_version(invo_name);
-               done (1);
+               done (0);
 
            case FOLDERSSW:
                if (!(folders = *argp++) || *folders == '-')