Tests if an option with the specified name has been provided on the Javadoc command-line.

This function returns the same result as the following expression:

getOption(name) != null

Parameters:

name

The option name (including hyphen).

For example: "-noindex"

Returns:
true - if there was an option with the specified name;
false - no such option

See Also:

getOption(), getOptions()