Normalize help flags of tools in jdk?

Lindenmaier, Goetz goetz.lindenmaier at
Thu Oct 5 16:11:58 UTC 2017


I would like to normalize the help flags of the tools in jdk/bin.
java accepts -?, -h and --help. I think that's a good set the others
should support, too.

If this is appreciated, I would complete this webrev to cover 
all the cases where this is doable with acceptable effort:

Some tools exit with '1' after displaying the help message,
while most exit with '0'.  Is that intended?

See also the test I added, it's implemented similar to 

Best regards,

More information about the hotspot-dev mailing list