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

Extra -help with command options #9154

Open
scabug opened this issue Feb 16, 2015 · 2 comments
Open

Extra -help with command options #9154

scabug opened this issue Feb 16, 2015 · 2 comments

Comments

@scabug
Copy link

scabug commented Feb 16, 2015

The compiler command options are legion.

Sometimes my bash autocomplete isn't up-to-date.

It would be nice if scalac could help me remember those options which are some permutation of X, Y, print, show, log, debug and uniq (not unique or unix).

Something like:

$ skalac -help -show
scalac error: bad option: '-show'
  Similar options:
  -Yshow-member-pos
  -Xshow-object
  -Yshow-syms
  -Yshow-trees-stringified
  -Xshow-phases
  -Yshow-trees-compact
  -Yshow-symowners
  -Yshow-trees
  -Yshow
  -Xshow-class
  -Yshow-symkinds
  `scalac -help` gives more information
@scabug
Copy link
Author

scabug commented Feb 16, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9154?orig=1
Reporter: @som-snytt
Affected Versions: 2.11.5

@scabug
Copy link
Author

scabug commented Feb 16, 2015

@som-snytt said:
Part of a broader campaign to dummy-down scalac to my level: scala/scala#4336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants