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) void
Display the usage for this command.void
usage
(StringBuilder out) Store the help in the passed string builder.void
usage
(StringBuilder out, String indent) Stores the help in the passed string builder, with the argument indentation.void
usage
(String commandName, StringBuilder out) Store the help for the command in the passed string builder.void
usage
(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
-