comparison th_args.c @ 591:1e9fa00cc63f

Document th_args_help() width parameter.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 12 Jan 2020 20:51:26 +0200
parents 041c8d3030e0
children 594f197f7005
comparison
equal deleted inserted replaced
590:041c8d3030e0 591:1e9fa00cc63f
332 * Print help for commandline arguments/options 332 * Print help for commandline arguments/options
333 * @param fh stdio file handle to output to 333 * @param fh stdio file handle to output to
334 * @param opts options list array 334 * @param opts options list array
335 * @param nopts number of elements in options list array 335 * @param nopts number of elements in options list array
336 * @param flags flags (currently unused) 336 * @param flags flags (currently unused)
337 * @param width width of the terminal or desired width of the print out
337 */ 338 */
338 void th_args_help(FILE *fh, const th_optarg *opts, 339 void th_args_help(FILE *fh, const th_optarg *opts,
339 const int nopts, const int flags, const int width) 340 const int nopts, const int flags, const int width)
340 { 341 {
341 int index, maxOptWidth; 342 int index, maxOptWidth;