commons-file/src/main/java/jargs/gnu/CmdLineParser.java
public final Option addOption( Option opt ) {
        if ( opt.shortForm() != null )
            this.options.put("-" + opt.shortForm(), opt);
        this.options.put("--" + opt.longForm(), opt);
        return opt;
    }
public final Option addOption( Option opt ) {
        if ( opt.shortForm() != null )
            this.options.put("-" + opt.shortForm(), opt);
        this.options.put("--" + opt.longForm(), opt);
        return opt;
    }
public final Option addOption ( Option opt ) { if ( opt . shortForm ( ) != null ) this . options . put ( "-" + opt . shortForm ( ) , opt ) ; this . options . put ( "--" + opt . longForm ( ) , opt ) ; return opt ; }
Add the specified Option to the list of accepted options
Add the specified Option to the list of accepted options