Zycore 1.5.2
Zyan Core Library for C
Loading...
Searching...
No Matches
ZyanArgParseDefinition_ Struct Reference

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).

Detailed Description

Definition of a single argument.

Field Documentation

◆ boolean

ZyanBool boolean

Whether the argument is boolean or expects a value.

◆ name

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.

◆ required

ZyanBool required

Whether this argument is required (error if missing).


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