void addHelpLineFor( OptionDescriptor descriptor, String additionalInfo ) { grid.addRow( createOptionDisplay( descriptor ) + additionalInfo, createDescriptionDisplay( descriptor ) ); }
void addHelpLineFor( OptionDescriptor descriptor, String additionalInfo ) { grid.addRow( createOptionDisplay( descriptor ) + additionalInfo, createDescriptionDisplay( descriptor ) ); }
void addHelpLineFor( OptionDescriptor descriptor, String additionalInfo ) { grid.addRow( createOptionDisplay( descriptor ) + additionalInfo, createDescriptionDisplay( descriptor ) ); }
/** * <p>Adds help rows for the given options.</p> * * <p>This implementation loops over the given options, and for each, calls {@link #addOptionRow(String, String)} * using the results of {@link #createOptionDisplay(OptionDescriptor)} and * {@link #createDescriptionDisplay(OptionDescriptor)}, respectively, as arguments.</p> * * @param options descriptors for the configured options of a parser */ protected void addOptions( Collection<? extends OptionDescriptor> options ) { for ( OptionDescriptor each : options ) { if ( !each.representsNonOptions() ) addOptionRow( createOptionDisplay( each ), createDescriptionDisplay( each ) ); } }
/** * <p>Adds help rows for the given options.</p> * * <p>This implementation loops over the given options, and for each, calls {@link #addOptionRow(String, String)} * using the results of {@link #createOptionDisplay(OptionDescriptor)} and * {@link #createDescriptionDisplay(OptionDescriptor)}, respectively, as arguments.</p> * * @param options descriptors for the configured options of a parser */ protected void addOptions( Collection<? extends OptionDescriptor> options ) { for ( OptionDescriptor each : options ) { if ( !each.representsNonOptions() ) addOptionRow( createOptionDisplay( each ), createDescriptionDisplay( each ) ); } }