ArgStep.match

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

Attempts to match the current argument as a text option or operand.

For options, the value may be attached to the option token or supplied by the next argument. For operands, leave both flag and longFlag null in the ArgOption. The returned slice points into the argument storage supplied to parseArgs or insertArgs.

Parameters

ArgStep*
this
const ArgOption*
option
overload out const char[]
value

Generated with campc 0.11.0-preview.1.