Package com.beust.jcommander
Interface IUsageFormatter
- All Known Implementing Classes:
DefaultUsageFormatter,UnixStyleUsageFormatter
public interface IUsageFormatter
A formatter for help messages.
-
Method Summary
Modifier and TypeMethodDescriptiongetCommandDescription(String commandName) voidDisplay the usage for this command.voidusage(StringBuilder out) Store the help in the passed string builder.voidusage(StringBuilder out, String indent) Stores the help in the passed string builder, with the argument indentation.voidusage(String commandName, StringBuilder out) Store the help for the command in the passed string builder.voidusage(String commandName, StringBuilder out, String indent) Store the help for the command in the passed string builder, indenting every line with "indent".
-
Method Details
-
usage
Display the usage for this command. -
usage
Store the help for the command in the passed string builder. -
usage
Store the help in the passed string builder. -
usage
Store the help for the command in the passed string builder, indenting every line with "indent". -
usage
Stores the help in the passed string builder, with the argument indentation. -
getCommandDescription
- Returns:
- the description of the argument command
-