Class CommandLine.Help.DefaultParamLabelRenderer

java.lang.Object
org.apache.logging.log4j.core.tools.picocli.CommandLine.Help.DefaultParamLabelRenderer
All Implemented Interfaces:
CommandLine.Help.IParamLabelRenderer
Enclosing class:
CommandLine.Help

static class CommandLine.Help.DefaultParamLabelRenderer extends Object implements CommandLine.Help.IParamLabelRenderer
DefaultParamLabelRenderer separates option parameters from their options with a separator string, surrounds optional values with '[' and ']' characters and uses ellipses ("...") to indicate that any number of values is allowed for options or parameters with variable arity.
  • Field Details

    • separator

      public final String separator
      The string to use to separate option parameters from their options.
  • Constructor Details

    • DefaultParamLabelRenderer

      public DefaultParamLabelRenderer(String separator)
      Constructs a new DefaultParamLabelRenderer with the specified separator string.
  • Method Details