Hi Lance,
--suggest-providers takes an optional argument (comma-separated list
of service types) and anything following it is not accepted.
So "does not accept" is appropriate in this error message.
Mandy
On 1/30/18 5:09 PM, Lance Andersen wrote:
Looks OK Mandy
could also tweak the message to
…does not accept *the* “-output…”
or
…does not *support* *the* “-output…”
Best
Lance
On Jan 30, 2018, at 7:31 PM, mandy chung <mandy.ch...@oracle.com
<mailto:mandy.ch...@oracle.com>> wrote:
(resend with fixed formatting)
Webrev:
http://cr.openjdk.java.net/~mchung/jdk11/webrevs/8196310/webrev.00/
<http://cr.openjdk.java.net/%7Emchung/jdk11/webrevs/8196310/webrev.00/>
Improve the error message when invalid argument is specified to
--suggest-providers option.
$ jlink --add-modules java.base --suggest-providers
java.security.Provider --output myimage
Error: --suggest-providers does not accept "--output myimage" argument
Mandy
<http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif><http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance
Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
lance.ander...@oracle.com <mailto:lance.ander...@oracle.com>