|
Zycore 1.5.2
Zyan Core Library for C
|
Definition of a single argument. More...
#include <ArgParse.h>
Data Fields | |
| const char * | name |
| The argument name, e.g. | |
| ZyanBool | boolean |
| Whether the argument is boolean or expects a value. | |
| ZyanBool | required |
| Whether this argument is required (error if missing). | |
Definition of a single argument.
| ZyanBool boolean |
Whether the argument is boolean or expects a value.
| const char* name |
The argument name, e.g.
--help.
Must start with either one or two dashes. Single dash arguments must consist of a single character, (e.g. -n), double-dash arguments can be of arbitrary length.
| ZyanBool required |
Whether this argument is required (error if missing).