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