OpenTTD Source
20241121-master-g67a0fccfad
|
Library for parsing command-line options. More...
Go to the source code of this file.
Data Structures | |
struct | OptionData |
Data of an option. More... | |
struct | GetOptData |
Data storage for parsing command line options. More... | |
Enumerations | |
enum | OptionDataType : uint8_t { ODF_NO_VALUE , ODF_HAS_VALUE , ODF_OPTIONAL_VALUE } |
Flags of an option. More... | |
Library for parsing command-line options.
Definition in file getoptdata.h.
enum OptionDataType : uint8_t |
Flags of an option.
Enumerator | |
---|---|
ODF_NO_VALUE | A plain option (no value attached to it). |
ODF_HAS_VALUE | An option with a value. |
ODF_OPTIONAL_VALUE | An option with an optional value. |
Definition at line 14 of file getoptdata.h.