public Option getOption(String name) {
        if (shortOpts.containsKey(name)) {
            return shortOpts.get(name);
        }
        return longOpts.get(name);
    }
public Option getOption ( String name ) { if ( shortOpts . containsKey ( name ) ) { return shortOpts . get ( name ) ; } return longOpts . get ( name ) ; }
Retrieve the {@link Option} matching the long or short name specified.
<p>The leading hyphens in the name are ignored (up to 2).</p>

@param name short or long name of the {@link Option}
@return the option represented by name