Returns all options with the specified name provided on the Javadoc command line.

Parameters:

name

The option name (including hyphen).

For example: "-group"

Returns:
An enumeration of all options with the specified name provided on the Javadoc command line.

Each element of the enumeration is an array of arguments of the particular option instance.

When no option with that name has been provided on the Javadoc command line, an empty enumeration will be returned.

Example:

Suppose, we have the following Javadoc command line:

javadoc ... -doctitle "blah blah" -noindex -group "Special Case" java.lang:java.util -group "Other" java.* ...
Then, here's what getOptions() will return for particular arguments (equivalent created with Enum() and Array() functions):
Argument Result
"-unknown" Enum()
"-doctitle" Enum(Array("blah blah"))
"-noindex" Enum(Array())
"-group"

Enum(
  Array(
    "Special Case",
    "java.lang:java.util"
  ),
  Array(
   "Other", "java.*"
  )
)

See Also:

hasOption(), getOption()