< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties

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

@@ -64,11 +64,11 @@
 ## value_next_arg - is the opton's value passed as next argument in command line?
 ##
 ## At least short_name or name needs to be in place for an argument descriptor to be valid.
 
 nashorn.option.help = {                       \
-    name="-help",                             \
+    name="--help",                            \
     short_name="-h",                          \
     desc="Print help for command line flags." \
 }
 
 nashorn.option.xhelp = {                               \
< prev index next >