Class

OptionParser::OptionalArgument

Inheritance
< self

Switch that can omit argument.

Methods

Instance

Visibility Signature
public parse (arg, argv, &error)

Instance Method Detail

parse(arg, argv, &error)

Parses argument if given, or uses default value.