Skip to content
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

feat: add -h to alternatives for -help #14792

Merged
merged 1 commit into from
Mar 27, 2022
Merged

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Mar 27, 2022

I've tried this no less than 3 times over the weekend and it annoys me
every time I get the bad option '-h' was ignored and it brings me
into the REPL. I think it's always a good idea to just default
-help|--help|-h all to help. Since this doesn't seem to conflict with
anything this just adds it in.

I've tried this no less than 3 times over the weekend and it annoys me
every time I get the `bad option '-h' was ignored` and it brings me
into the REPL. I think it's always a good idea to just default
`-help|--help|-h` all to help. Since this doesn't seem to conflict with
anything this just adds it in.
@som-snytt
Copy link
Contributor

Achieves parity with Scala 2! https://github.com/scala/scala/blob/2.13.x/src/compiler/scala/tools/nsc/settings/StandardScalaSettings.scala#L51

@smarter smarter merged commit 20842cf into scala:main Mar 27, 2022
@ckipp01 ckipp01 deleted the helpMeObiWan branch March 27, 2022 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants