ProgramArgs.option

Gets option value.

In case of repeating option, returns last value.

class ProgramArgs
string
option
(
string name
,
string defaultValue = null
)

Return Value

Type: string

Last option specified, or defaultValue if none

See Also

options, optionAll

Meta