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).Returns:For example:
"-noindex"
true
- if there was an option with the specified name;
false
- no such option
See Also:
getOption(), getOptions()