public void addOption ( String option , String argumentDesc , String description ) { optionList . add ( option ) ; optionDescriptionMap . put ( option , description ) ; requiresArgumentSet . add ( option ) ; argumentDescriptionMap . put ( option , argumentDesc ) ; int width = option . length ( ) + 3 + argumentDesc . length ( ) ; if ( width > maxWidth ) { maxWidth = width ; } }
Add an option requiring an argument .