RFR: 8321139: jlink's man page does not document the --compress option correctly [v3]

Alan Bateman alanb at openjdk.org
Fri Nov 21 15:49:20 UTC 2025


On Fri, 21 Nov 2025 09:35:32 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>>> Nit - the use of square brackets is usually meant to imply "optional". Here it is mandatory to specify a digit between 0 and 9 following the "zip-" text. Perhaps using angular bracket would be better?
>> 
>> Hmmm,  square brackets in the shell are a regex indicating a wildcard.  I think that `[0-9]` reads better in the shell/command line context.
>
> No objections from me to let it stay in the current form then.

`{  }` is use in some man pages pick one from the items from inside the braces.  Maybe `zip-{0..9}` would work here as the `jlink` man page already uses `[ ]` for optional items.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28359#discussion_r2550195657


More information about the core-libs-dev mailing list