< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ToolOption.java

Print this page
rev 47329 : 8189102: All tools should support -?, -h and --help

@@ -336,11 +336,11 @@
         }
     },
 
     // ----- help options -----
 
-    HELP("--help -help", STANDARD) {
+    HELP("--help -h -?", STANDARD) {
         @Override
         public void process(Helper helper) throws OptionException {
             throw new OptionException(OK, helper::usage);
         }
     },
< prev index next >