public ManParameter parseParams(List<String> input, int columns) {
        out.add(argPad+ManParserUtil.convertStringToAnsi(input.get(0)));
        input.remove(0);
        if(!input.isEmpty()) {
            StringBuilder builder = new StringBuilder();
            for(String in : input) {
               if(in.trim().length() > 0)
                   builder.append(in.trim()).append(' ');
            }

            if(builder.length() > 0) {
               for(String s : Parser.splitBySizeKeepWords(builder.toString(), columns - textPad.length())) {
                  out.add(textPad+ManParserUtil.convertStringToAnsi(s));
               }
            }
            //add an empty line at the bottom to create a line separator between params
            if(out.size() > 0)
                out.add(" ");
        }
        return this;
    }
public ManParameter parseParams ( List < String > input , int columns ) { out . add ( argPad + ManParserUtil . convertStringToAnsi ( input . get ( 0 ) ) ) ; input . remove ( 0 ) ; if ( ! input . isEmpty ( ) ) { StringBuilder builder = new StringBuilder ( ) ; for ( String in : input ) { if ( in . trim ( ) . length ( ) > 0 ) builder . append ( in . trim ( ) ) . append ( ' ' ) ; } if ( builder . length ( ) > 0 ) { for ( String s : Parser . splitBySizeKeepWords ( builder . toString ( ) , columns - textPad . length ( ) ) ) { out . add ( textPad + ManParserUtil . convertStringToAnsi ( s ) ) ; } } if ( out . size ( ) > 0 ) out . add ( " " ) ; } return this ; }
First line is the param/option name
following lines are the description