RFR: 7903439: JMH: Print help to stdout instead of stderr

Aleksey Shipilev shade at openjdk.org
Mon Feb 20 17:49:53 UTC 2023


On Fri, 17 Feb 2023 09:37:54 GMT, Seeta Ramayya <duke at openjdk.org> wrote:

> I do not know the reason for using `System.err` for `help or -h`. I was expecting it to be in standard out not in error. 
> 
> Either of the things needs to be happen: 
> 
> - If it has to be `System.error` (for some reason) then it should be mentioned in `ReadMe.md` so that people like me does not get confused.
> - If it is `System.out` then PR needs to be merged :)  
> 
> Change is just `3` characters so I did not report any issue before creating PR.

I agree. This looks fine.

For testing, please go to https://github.com/Seetaramayya/jmh/actions and enable the testing workflow.

-------------

Marked as reviewed by shade (Committer).

PR: https://git.openjdk.org/jmh/pull/95


More information about the jmh-dev mailing list