< prev index next >
src/jdk.jartool/share/classes/sun/tools/jar/GNUStyleOptions.java
Print this page
rev 48074 : 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini
@@ -198,11 +198,11 @@
}
boolean isHidden() { return true; }
},
// Other options
- new Option(true, true, OptionType.OTHER, "--help", "-h") {
+ new Option(true, true, OptionType.OTHER, "--help", "-h", "-?") {
void process(Main jartool, String opt, String arg) throws BadArgs {
if (jartool.info == null) {
if (arg == null) {
jartool.info = GNUStyleOptions::printHelp; // Main.Info.HELP;
return;
< prev index next >