Parses a single command-line option and any parameters.
Different types of command-line options are parsed according to different rules. An <option-parser> knows how to handle one type of option. The long-options: and short-options: keywords are used to specify which option names should be handled by a given parser.
An option parser can be connected to an <argument-list-parser> via add-option-parser.
abstract primary open
| long-options: | An instance of <list>. Specifies the long options handled by this parser, represented as strings. Defaults to #(). |
| short-options: | An instance of <list>. Specifies the short options handled by this parser, represented as strings. Defaults to #(). |
| description: | An instance of <string>. A description of the options handled by this parser. Defaults to “”. |