parseShorts
Parses short option(s) from the token stream.
Handles options like "-v" or "-abc" (combined short options).
Parameters
tokens | The token stream to parse from. |
options | The list of known options (may be modified). |
Returns
An array containing the parsed Option(s).