Package org.apache.commons.cli.avalon
Class CLUtil
java.lang.Object
org.apache.commons.cli.avalon.CLUtil
CLUtil offers basic utility operations for use both internal and external to
package.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringBuilder
describeOptions
(CLOptionDescriptor[] options) Format options into StringBuilder and return.
-
Method Details
-
describeOptions
Format options into StringBuilder and return. This is typically used to print "Usage" text in response to a "--help" or invalid option.- Parameters:
options
- the option descriptors- Returns:
- the formatted description/help for options
-