nl::ArgParser::OptionDef

#include <src/lib/support/nlargparser.hpp>

Defines a command line option.

Summary

Public attributes

ArgType
OptionArgumentType
An enumerated value specifying whether the option takes an argument.
Id
uint16_t
An integer id for the option.
Name
const char *
Long name for the option.

Public attributes

ArgType

OptionArgumentType nl::ArgParser::OptionDef::ArgType

An enumerated value specifying whether the option takes an argument.

Id

uint16_t nl::ArgParser::OptionDef::Id

An integer id for the option.

If the value falls in the range of graphical ASCII characters the value is also used as the short name for the option.

Name

const char * nl::ArgParser::OptionDef::Name

Long name for the option.