RFR: 8340133: Add concise usage message to the java executable [v10]

Jan Lahoda jlahoda at openjdk.org
Fri Nov 29 17:54:44 UTC 2024


On Fri, 29 Nov 2024 17:05:45 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Shouldn't we try to promote GNU-style long options? (That is, suggest `--version` instead of `-version`.)

I was thinking of that, but shied away from it, because: the current `java` output prints to stderr; this new concise `java` output prints to stderr as well, and `-version` also prints to stderr. `--version` prints to stdout.

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

PR Comment: https://git.openjdk.org/jdk/pull/21411#issuecomment-2508209394


More information about the core-libs-dev mailing list