spBase
Loading...
Searching...
No Matches
spOption Struct Reference

#include <sp/spOption.h>

Collaboration diagram for spOption:
Collaboration graph

Data Fields

const char * flag
 
const char * subflag
 
const char * desc
 
const char * label
 
spOptionType type
 
void * value
 
const char * def_value
 

Detailed Description

A structure to hold parameters for a command-line option.

Examples
spcat.c.

Field Documentation

◆ flag

const char* flag

Option flag.

◆ subflag

const char* subflag

Option subflag.

◆ desc

const char* desc

Description for help.

◆ label

const char* label

Label for the setup file.

◆ type

Type of value.

◆ value

void* value

Option value.

◆ def_value

const char* def_value

Default value.