public class CmdUsageFormatter
extends com.beust.jcommander.DefaultUsageFormatter
| Constructor and Description |
|---|
CmdUsageFormatter(com.beust.jcommander.JCommander commander) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeprecatedCommand(String command) |
void |
appendCommands(StringBuilder out,
int indentCount,
int descriptionIndent,
String indent)
This method is copied from DefaultUsageFormatter,
but the ability to skip deprecated commands is added.
|
void |
clearDeprecatedCommand() |
void |
removeDeprecatedCommand(String command) |
public CmdUsageFormatter(com.beust.jcommander.JCommander commander)
public void appendCommands(StringBuilder out, int indentCount, int descriptionIndent, String indent)
appendCommands in class com.beust.jcommander.DefaultUsageFormatterout - indentCount - descriptionIndent - indent - public void addDeprecatedCommand(String command)
public void removeDeprecatedCommand(String command)
public void clearDeprecatedCommand()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.