mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-07 00:48:38 +00:00
8170553: javac info options should match launcher options
Reviewed-by: jlahoda
This commit is contained in:
parent
e4748a6d4c
commit
fbd2e66afb
@ -342,7 +342,7 @@ public enum Option {
|
||||
}
|
||||
},
|
||||
|
||||
VERSION("-version", "opt.version", STANDARD, INFO) {
|
||||
VERSION("--version -version", "opt.version", STANDARD, INFO) {
|
||||
@Override
|
||||
public void process(OptionHelper helper, String option) throws InvalidValueException {
|
||||
Log log = helper.getLog();
|
||||
@ -352,7 +352,7 @@ public enum Option {
|
||||
}
|
||||
},
|
||||
|
||||
FULLVERSION("-fullversion", null, HIDDEN, INFO) {
|
||||
FULLVERSION("--full-version -fullversion", null, HIDDEN, INFO) {
|
||||
@Override
|
||||
public void process(OptionHelper helper, String option) throws InvalidValueException {
|
||||
Log log = helper.getLog();
|
||||
@ -402,7 +402,7 @@ public enum Option {
|
||||
}
|
||||
},
|
||||
|
||||
X("-X", "opt.X", STANDARD, INFO) {
|
||||
X("--help-extra -X", "opt.X", STANDARD, INFO) {
|
||||
@Override
|
||||
public void process(OptionHelper helper, String option) throws InvalidValueException {
|
||||
Log log = helper.getLog();
|
||||
|
||||
@ -263,9 +263,9 @@ javac.opt.Xdoclint.package.desc=\
|
||||
javac.opt.Xstdout=\
|
||||
Redirect standard output
|
||||
javac.opt.X=\
|
||||
Print a synopsis of nonstandard options
|
||||
Print help on extra options
|
||||
javac.opt.help=\
|
||||
Print a synopsis of standard options
|
||||
Print this help message
|
||||
javac.opt.print=\
|
||||
Print out a textual representation of specified types
|
||||
javac.opt.printRounds=\
|
||||
@ -375,7 +375,7 @@ javac.msg.usage=\
|
||||
use --help for a list of possible options
|
||||
|
||||
javac.msg.usage.nonstandard.footer=\
|
||||
These options are non-standard and subject to change without notice.
|
||||
These extra options are subject to change without notice.
|
||||
|
||||
javac.msg.bug=\
|
||||
An exception has occurred in the compiler ({0}). \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user