Parameters:

LIST

List of spec/description pairs.

Return:

N/A

Description:

AddOptions takes a list of spec/description pairs.
The spec is the option specification in the same format as the
Getopt::Long module. Descriptions are brief
descriptions of the associated option. The descriptions are used
by the Usage function. Any specifications are
added to the current option specifications and will be used by the
GetOptions function.

Parameters:

LIST

List of spec/description pairs.

Return:

1 on success, 0 on error.

Description:

GetOptions parses the command-line
(@ARGV) and fills the %OptValues hash.
The keys of the %OptValues has will be the options
defined on the command-line. There associated values are dependent
on the option specifications which follows the same rules as the
Getopt::Long module.

A list of spec/description pairs can be passed
into GetOptions just like AddOptions.