Improve manual pages.

* help output needs to be to stdout not stderr for help2man (*.c,*.h)
* Add EXIT_INFO return code.  (*.c,*.h)
* Start filling out man pages, e.g. add SEE ALSO. *.help2man
* Remove non-existent reference to Info pages Makefile.am
This commit is contained in:
rocky
2005-10-06 09:37:11 +00:00
parent 37bb687ed2
commit e660ebfe7a
9 changed files with 46 additions and 16 deletions

View File

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