Config

Undocumented in source.

Members

Properties

errorHandler
void function(string s) nothrow errorHandler [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
errorHandler
void delegate(string s) nothrow errorHandler [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

addHelp
bool addHelp;

Add a -h/--help option to the parser. Defaults to true.

arraySep
char arraySep;

When set to char.init, parameters to array and associative array receivers are treated as an individual argument. That is, only one argument is appended or inserted per appearance of the option switch. If arraySep is set to something else, then each parameter is first split by the separator, and the individual pieces are treated as arguments to the same option.

assignChar
char assignChar;

The assignment character used in options with parameters. Defaults to '='.

bundling
bool bundling;

Single-letter arguments can be bundled together, i.e. "-abc" is the same as "-a -b -c". Disabled by default.

caseSensitive
bool caseSensitive;

If set then argument names are case-sensitive. Defaults to true.

endOfArgs
string endOfArgs;

The string that conventionally marks the end of all options. Assigning an empty string to endOfArgs effectively disables it. Defaults to "--".

namedArgChar
char namedArgChar;

The option character. Defaults to '-'.

Meta