default values for options
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Jul 25 21:03:51 UTC 2016
On 07/25/2016 02:54 AM, Travis Downs wrote:
> Running with the -h option gives a reasonable description of the various
> possible command line flags and options, but doesn't seem to mention which
> flag/option is the default if not explicit specified. Is this documented
> anywhere?
Ah, yes, this was not very easy to do, because "default" command line
options are known by Runner itself, not by the command line option
parsing code. This is because we don't want command line options
defaults to override annotations.
But, from UX standpoint, users don't care about that internal detail,
and rightfully expect defaults to be spelled in -h.
Fixed:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901746
Thanks,
-Aleksey
More information about the jmh-dev
mailing list