Package org.wildfly.security.tool.help
Class CommandsSection
java.lang.Object
org.wildfly.security.tool.help.HelpSection
org.wildfly.security.tool.help.CommandsSection
Command section of Elytron help command
- Author:
- Petr Beran
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidformatAndPrintCommand(String commandName, CharSequence commandDescription, int longestCommand) Formats and prints command and it's respective descriptionvoidDisplays help of specific sectionMethods inherited from class org.wildfly.security.tool.help.HelpSection
appendGap, checkForWhitespaceIndex, formatAndPrintSectionContext, formatAndPrintTitle
-
Constructor Details
-
CommandsSection
-
-
Method Details
-
printHelp
public void printHelp()Description copied from class:HelpSectionDisplays help of specific section- Specified by:
printHelpin classHelpSection
-
formatAndPrintCommand
protected void formatAndPrintCommand(String commandName, CharSequence commandDescription, int longestCommand) Formats and prints command and it's respective description- Parameters:
commandName- Command's namecommandDescription- Command's descriptionlongestCommand- Length of the longest commands. Ensures that all descriptions start at the same column
-