More stdout->stderr and exit(EXIT_INFO) on help.

This commit is contained in:
rocky
2005-10-06 09:51:21 +00:00
parent e660ebfe7a
commit 9361acfc42
2 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/* /*
$Id: cd-read.c,v 1.26 2005/10/05 09:48:12 rocky Exp $ $Id: cd-read.c,v 1.27 2005/10/06 09:51:21 rocky Exp $
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com> Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -331,9 +331,9 @@ parse_options (int argc, char *argv[])
break; break;
case '?': case '?':
fprintf(stderr, helpText, program_name); fprintf(stdout, helpText, program_name);
free(program_name); free(program_name);
exit(EXIT_FAILURE); exit(EXIT_INFO);
break; break;
case OP_USAGE: case OP_USAGE:

View File

@@ -1,5 +1,5 @@
/* /*
$Id: iso-read.c,v 1.10 2005/10/05 09:48:12 rocky Exp $ $Id: iso-read.c,v 1.11 2005/10/06 09:51:21 rocky Exp $
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com> Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -125,9 +125,9 @@ parse_options (int argc, char *argv[])
break; break;
case '?': case '?':
fprintf(stderr, helpText, program_name); fprintf(stdout, helpText, program_name);
free(program_name); free(program_name);
exit(EXIT_FAILURE); exit(EXIT_INFO);
break; break;
case OP_USAGE: case OP_USAGE: