ArgStep.match

bool match(ArgStep* this, const ArgOption* option, overload out bool value)

Attempts to match the current argument as a bool option.

Bool options accept a present/absent value. In GNU syntax, a noPrefix option also accepts --no-name for false. Bool options may be matched more than once; each match calls the callback normally with the current value.

Parameters

ArgStep*
this
const ArgOption*
option
overload out bool
value

Generated with campc 0.11.0-preview.1.