Package picocli

Class CommandLine.Help.DefaultParameterRenderer

java.lang.Object
picocli.CommandLine.Help.DefaultParameterRenderer
All Implemented Interfaces:
CommandLine.Help.IParameterRenderer
Enclosing class:
CommandLine.Help

static class CommandLine.Help.DefaultParameterRenderer extends Object implements CommandLine.Help.IParameterRenderer
The DefaultParameterRenderer converts positional parameters to five columns of text to match the default TextTable column layout. The first row of values looks like this:
  1. the required option marker (if the parameter's arity is to have at least one value)
  2. empty string
  3. empty string
  4. parameter(s) label as rendered by the CommandLine.Help.IParamLabelRenderer
  5. first element of the CommandLine.Model.ArgSpec.description() array

Following this, there will be one row for each of the remaining elements of the CommandLine.Model.ArgSpec.description() array, and these rows look like {"", "", "", param.description()[i]}.