Returns the value of an option.
Returns the value of an option.
the expected value type
the option name
the value of the option identified by name
if the value cannot be cast to A
if name
is not present
Returns a sequence of all non-option arguments following the last option.
Returns a sequence of all non-option arguments following the last option.
a sequence of all non-option arguments
Optionally returns the value of an option.
Optionally returns the value of an option.
the expected value type
the option name
a Some
containing the value of the option if present, otherwise None
if the value cannot be cast to A
Returns the raw option value map.
Returns the raw option value map.
Note that non-option arguments are associated with the option name "@"
, which is guaranteed to be present in the map
even if empty.
the raw option value map
The result of parsing an argument sequence.