BRL-CAD

#include <opt.h>

Collaboration diagram for bu_opt_desc_opts:
[legend]

Data Fields

bu_opt_format_t format
 
int offset
 
int option_columns
 
int description_columns
 
struct bu_opt_descrequired
 
struct bu_opt_descrepeated
 
struct bu_opt_descoptional
 
int show_all_longopts
 
const char * accept
 
const char * reject
 

Detailed Description

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.

Definition at line 254 of file opt.h.

Field Documentation

◆ format

Definition at line 255 of file opt.h.

◆ offset

int offset

Definition at line 256 of file opt.h.

◆ option_columns

int option_columns

Definition at line 257 of file opt.h.

◆ description_columns

int description_columns

Definition at line 258 of file opt.h.

◆ required

struct bu_opt_desc* required

Definition at line 261 of file opt.h.

◆ repeated

struct bu_opt_desc* repeated

Definition at line 262 of file opt.h.

◆ optional

struct bu_opt_desc* optional

Definition at line 263 of file opt.h.

◆ show_all_longopts

int show_all_longopts

Definition at line 266 of file opt.h.

◆ accept

const char* accept

Definition at line 271 of file opt.h.

◆ reject

const char* reject

Definition at line 272 of file opt.h.


The documentation for this struct was generated from the following file: