|
Zycore 1.5.2
Zyan Core Library for C
|
Information about a parsed argument. More...
#include <ArgParse.h>
Data Fields | |
| const ZyanArgParseDefinition * | def |
| Corresponding argument definition, or ZYAN_NULL for unnamed args. | |
| ZyanBool | has_value |
| Whether the argument has a value (is non-boolean). | |
| ZyanStringView | value |
| If has_value == true, then the argument value. | |
Information about a parsed argument.
| const ZyanArgParseDefinition* def |
Corresponding argument definition, or ZYAN_NULL for unnamed args.
This pointer is borrowed from the cfg pointer passed to ZyanArgParse.
| ZyanBool has_value |
Whether the argument has a value (is non-boolean).
| ZyanStringView value |
If has_value == true, then the argument value.
This is a view into the argv string array passed to ZyanArgParse via the cfg argument.