getOpt package:what4

Get the current value of an option. Throw an exception if the option is not currently set.
Given a ConfigOption name, produce an OptionSetting object for accessing and setting the value of that option. An exception is thrown if the named option cannot be found the Config object, or if a type mismatch occurs.
Given a text name, produce an OptionSetting object for accessing and setting the value of that option. An exception is thrown if the named option cannot be found.