-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Support JEP 293 style long command-line options #6499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
We should apply this to the the scaladoc settings, too. I support this change, as it will reduce the friction for people using the forthcoming support for Java Modules in Scala 2.13. They'll be learning about It is worth discussing alternatives, though, e.g smart usage help. Replace: With In the same spirit as: That would be a useful change in and of itself. So assuming we had that, what is better?
|
|
Updated scaladoc. |
|
Is this too much? |
|
I like the improved usability with the abbreviations. I'm not that worried about the fragmentation because the alternative spelling is easily discovered. If I don't hear strong objections by June 8, I intend to merge as-is. (cc @retronym) |
|
👍, aligning with JEP 293 and with good Unix practice is worth the fragmentation. We could wait a good long time before removing the old versions (not til Scala 3.x, I guess, if ever). |
|
@taku0 hi, you still around? this could make M5; can you rebase? |
JEP 293 specifies GNU-like styles for command-line options, which is supported from OpenJDK/Oracle JDK 9. This patch adds synonyms with two hyphens for each options. Option names consist with multiple words are separated by hyphens.
99ea6f8 to
a9812ac
Compare
|
Rebased |
|
thank you @taku0! |
JEP 293 specifies GNU-like styles for java/javac/etc. command-line options, which is supported by OpenJDK/Oracle JDK from version 9.
This patch adds synonyms with two hyphens for each options.
Option summary:
scalaoptions:fscoptions:scalacoptions: