[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LTP] [PATCH] Help updates, please review
- To: ltp@oss.sgi.com
- Subject: [LTP] [PATCH] Help updates, please review
- From: Nathan Straz <nstraz@sgi.com>
- Date: Wed, 23 Aug 2000 17:05:20 -0500
- Mail-Followup-To: ltp@oss.sgi.com
- Sender: owner-ltp@oss.sgi.com
- User-Agent: Mutt/1.0.1i
- User-Agent: Mutt/1.0.1i
Okay, attached is a (large) patch to LTP that is most, if not all, the
changes needed to update parse_opts and the help routines. Here's a
summary of what happened:
- mc_getopts is no longer used. getopt is used instead and the standard
options have been changed to single character options. See previous
email for the translation table.
- A function has been added called STD_set_user_help(void (*uhf)()) that
should be used to add help messages specific to the test program.
Just printf() whatever you need to. All output will come after the
standard help screen and the test program will exit immediately after.
- updated test programs that added options. Remove redundant help
options. Everything seems to work.
Any questions?
--
Nate Straz nstraz@sgi.com
sgi, inc http://www.sgi.com/
Linux Test Project http://oss.sgi.com/projects/ltp/
parse_opts.patch.gz