@Deprecated
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Option
[-c] [<type>] description
':
<type>
' is an optional description of the option type, to be displayed instead of
its Java type (e.g., '<filename>
' if the variable's type is String). The less-than
and greater-than symbols are required.
@Option
description.
The command-line options are processed by the Options
class. For example usage,
see the documentation for Options
.
Options
,
OptionGroup
,
Unpublicized
,
OptionsDoclet
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Deprecated.
String that describes the option.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
aliases
Deprecated.
Aliases for this option.
|
boolean |
noDocDefault
Deprecated.
Whether not to hide default values.
|
public abstract java.lang.String value
Option
public abstract java.lang.String[] aliases
Options
. If there is only a single, one-character alias, it can be put
at the beginning of the value field without the need for an aliases field.public abstract boolean noDocDefault
OptionsDoclet
.