_Ecore_Getopt_Desc Struct Reference

Structure that describe an option of the command line. More...

#include <Ecore_Getopt.h>

Data Structures

union  [union].action_param

Data Fields

char shortname
 used with a single dash
const char * longname
 used with double dashes
const char * help
 used by –help/ecore_getopt_help()
const char * metavar
 used by ecore_getopt_help() with nargs > 0
Ecore_Getopt_Action action
 define how to handle it
union  action_param
 Action parameter.

Detailed Description

Structure that describe an option of the command line.

Field Documentation

◆ shortname

char _Ecore_Getopt_Desc::shortname

◆ longname

const char* _Ecore_Getopt_Desc::longname

◆ metavar

const char* _Ecore_Getopt_Desc::metavar

used by ecore_getopt_help() with nargs > 0

Referenced by ecore_getopt_parse_positional().

◆ action

Ecore_Getopt_Action _Ecore_Getopt_Desc::action

define how to handle it

Referenced by ecore_getopt_help_category().