MCPcopy Create free account
hub / github.com/cbeust/jcommander / usage

Method usage

src/main/java/com/beust/jcommander/JCommander.java:1078–1082  ·  view source on GitHub ↗

Prints the usage on #getConsole() using the underlying #usageFormatter.

()

Source from the content-addressed store, hash-verified

1076 * Prints the usage on {@link #getConsole()} using the underlying {@link #usageFormatter}.
1077 */
1078 public void usage() {
1079 StringBuilder sb = new StringBuilder();
1080 usageFormatter.usage(sb);
1081 getConsole().print(sb);
1082 }
1083
1084 /**
1085 * Display the usage for this command.

Callers 4

commandKeyMethod · 0.95
testUsageMethod · 0.95
mainMethod · 0.95

Calls 3

getConsoleMethod · 0.95
usageMethod · 0.65
printMethod · 0.65

Tested by 4

commandKeyMethod · 0.76
testUsageMethod · 0.76
mainMethod · 0.76