| Package | Description |
|---|---|
| org.apache.commons.cli |
Apache Commons CLI provides a simple API for presenting, processing, and validating a Command Line Interface.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HelpFormatter.Builder |
HelpFormatter.builder()
Deprecated.
Creates a new builder.
|
|
HelpFormatter.Builder |
HelpFormatter.Builder.setPrintWriter(PrintWriter printWriter)
Sets the output PrintWriter, defaults to wrapping
System.out. |
|
HelpFormatter.Builder |
HelpFormatter.Builder.setShowDeprecated(boolean useDefaultFormat)
Sets whether to show deprecated options.
|
|
HelpFormatter.Builder |
HelpFormatter.Builder.setShowDeprecated(Function<Option,String> deprecatedFormatFunction)
Sets whether to show deprecated options.
|
|
HelpFormatter.Builder |
HelpFormatter.Builder.setShowSince(boolean showSince)
Sets whether to show the date the option was first added.
|
Copyright © 2002-2025 The Apache Software Foundation. All rights reserved.Apache Commons CLI | Issue management | Source repository