Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8335877

Improve format of jnativescan help message

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • tools
    • None

      We could improve the format of the jnativescan help message by using a custom HelpFormatter [1].

      Currently, the help message looks like this:

      --add-modules <String> List of root modules to scan
      --class-path <Path> The class path as used at runtime
      --module-path <Path> The module path as used at runtime

      We would like the `<String>` to be `<module name>(,<module name>)*`, and the path something like `<path>(:<path>)*` instead.

      [1]: https://javadoc.io/doc/net.sf.jopt-simple/jopt-simple/4.0/joptsimple/HelpFormatter.html

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: