[foreign-jextract] Integrated: 8265211: Print specific error message when an option parsing error occurs
Jorn Vernee
jvernee at openjdk.java.net
Tue Apr 20 12:11:19 UTC 2021
On Wed, 14 Apr 2021 11:37:18 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> Hi,
>
> This patch makes jextract print a more specific error message when an option parsing error occurs, where currently only the help message is printed.
>
> For instance, when using an unrecognized option `-o` it will print
>
>
> OPTION ERROR: o is not a recognized option
>
>
> Or when specifying multiple header files
>
>
> OPTION ERROR: Expected 1 header file, not 3
>
>
> Thanks,
> Jorn
This pull request has now been integrated.
Changeset: 430ee2d0
Author: Jorn Vernee <jvernee at openjdk.org>
URL: https://git.openjdk.java.net/panama-foreign/commit/430ee2d0
Stats: 17 lines in 1 file changed: 15 ins; 0 del; 2 mod
8265211: Print specific error message when an option parsing error occurs
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/500
More information about the panama-dev
mailing list