Specifying a {@linkplain ArgumentAcceptingOptionSpec#defaultsTo(Object,Object[]) default argument value}for an option will cause this method to return that default value even if the option was not detected on the command line, or if the option can take an optional argument but did not have one on the command line.
@param option the option to search for @return the argument of the given option; {@code null} if no argument is present, or that option was notdetected @throws NullPointerException if {@code option} is {@code null} @throws OptionException if more than one argument was detected for the option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|