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

Jonathan Gibbons jonathan.gibbons at oracle.com
Sun Nov 19 18:07:13 UTC 2017

On 11/18/17 12:41 AM, Alan Bateman wrote:
> A question for Jon Gibbons: In JEP 293 the guideline is that tools 
> should support `--help`. Do you think this should be expanded to 
> include `-help`, and `-?` (and maybe `-h` where it make sense)? 
I think we should standardize on --help, and -h where possible, as the 
standard options.

I think we should continue to allow -help where it has previously been 
accepted. I don't think we should add -help for new tools.

I wasn't aware that -? is in common usage. If it is, it makes sense to 
allow it.

-- Jon

More information about the core-libs-dev mailing list