]> git.marmaro.de Git - mmh/blobdiff - uip/show.c
Changed exit status of each nmh command's -version and -help switches
[mmh] / uip / show.c
index 8e581e777959f83e8fab3e51059f2fc302b5384e..ad9b1233816a5f8c430e869230c89a05c636c9f9 100644 (file)
@@ -105,10 +105,10 @@ main (int argc, char **argv)
                        "%s [+folder] %s[switches] [switches for showproc]",
                        invo_name, mode == SHOW ? "[msgs] ": "");
                    print_help (buf, switches, 1);
-                   done (1);
+                   done (0);
                case VERSIONSW:
                    print_version(invo_name);
-                   done (1);
+                   done (0);
 
                case DRFTSW: 
                    if (file)