net.dpml.cli.option
Class HelpLineImpl
java.lang.Objectnet.dpml.cli.option.HelpLineImpl
- HelpLine
Represents a line in the help screen.
HelpLineImpl(Option option, int indent)- Creates a new HelpLineImpl to represent a particular Option in the online
help.
|
HelpLineImpl
public HelpLineImpl(Option option,
int indent) Creates a new HelpLineImpl to represent a particular Option in the online
help.
option - the Option that the HelpLineImpl describesindent - the level of indentation for this line
usage
public String usage(Set helpSettings,
Comparator comparator) Builds a usage string for the option using the specified settings and
comparator.
- usage in interface HelpLine
helpSettings - the settings to applycomparator - a comparator to sort options when applicable