BRL-CAD
|
#include <opt.h>
Data Fields | |
bu_opt_format_t | format |
int | offset |
int | option_columns |
int | description_columns |
struct bu_opt_desc * | required |
struct bu_opt_desc * | repeated |
struct bu_opt_desc * | optional |
int | show_all_longopts |
const char * | accept |
const char * | reject |
Construct a textual description of the options defined by the array.
The structure is as follows:
Offset Options Descriptions ******-----------—********************* –test-option This is a test option
Opt_col specifies how wide the options column is, and desc_cols specifies how wide the description column is.
This structure is currently experimental and likely will change as we find out what is needed.
bu_opt_format_t format |
struct bu_opt_desc* required |
struct bu_opt_desc* repeated |
struct bu_opt_desc* optional |