libusual  0.1
Data Fields
option Struct Reference

Long option description. More...

Data Fields

const char * name
 name of long option
int has_arg
 whether option takes an argument.
int * flag
 if not NULL, set *flag to val when option found
int val
 if flag not NULL, value to set *flag to; else return value

Detailed Description

Long option description.


Field Documentation

const char* option::name

name of long option

whether option takes an argument.

One of no_argument, required_argument, and optional_argument.

if not NULL, set *flag to val when option found

if flag not NULL, value to set *flag to; else return value


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