RFR: 8189102: All tools should support -?, -h and --help

Weijun Wang weijun.wang at oracle.com
Sun Nov 19 00:28:01 UTC 2017

I am OK with all commands supporting --help, but I am not sure if every tool should show it on the help screen if the tools's other options are still using the old single-"-" style. It looks like the tools are half-converted.

Is there a timetable to add "--" support to all tools?


> On Nov 17, 2017, at 7:23 PM, Lindenmaier, Goetz <goetz.lindenmaier at sap.com> wrote:
> Hi,
> please review this change. I also filed a CSR for this:
> http://cr.openjdk.java.net/~goetz/wr17/8189102-helpMessage/webrev.02/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8189102
> CSR: https://bugs.openjdk.java.net/browse/JDK-8191477
> See the webrev for a detailed description of the changes.
> If required, I'll make break-out changes to be reviewed separately.
> I had posted a RFR before, but improved the change to 
> give a more complete overview of currently supported flags
> for the CSR:
> http://mail.openjdk.java.net/pipermail/hotspot-dev/2017-October/028615.html
> Best regards,
>  Goetz.

More information about the core-libs-dev mailing list