< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java
Print this page
rev 47329 : 8189102: All tools should support -?, -h and --help
@@ -358,11 +358,11 @@
super.process(helper, option);
}
},
// Note: -h is already taken for "native header output directory".
- HELP("--help -help", "opt.help", STANDARD, INFO) {
+ HELP("-? --help", "opt.help", STANDARD, INFO) {
@Override
public void process(OptionHelper helper, String option) throws InvalidValueException {
Log log = helper.getLog();
String ownName = helper.getOwnName();
log.printLines(WriterKind.STDOUT, PrefixKind.JAVAC, "msg.usage.header", ownName);
< prev index next >