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

scaladoc continues with bad option #9793

Open
scabug opened this issue May 26, 2016 · 3 comments · May be fixed by scala/scala#10738
Open

scaladoc continues with bad option #9793

scabug opened this issue May 26, 2016 · 3 comments · May be fixed by scala/scala#10738

Comments

@scabug
Copy link

scabug commented May 26, 2016

A bad cli option should hard exit. Instead the bad option is interpreted as a source file containing documentable content.

11:16 $ ./scaladoc -h
scaladoc error: bad option: '-h'
  scaladoc -help  gives more information
error: source file '-h' could not be found
model contains 1 documentable templates
two errors found
@scabug
Copy link
Author

scabug commented May 26, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9793?orig=1
Reporter: @janekdb
Affected Versions: 2.12.0-M4

@scabug
Copy link
Author

scabug commented Jun 5, 2016

Chase Long (chasel_long) said:
I submitted a PR for this: scala/scala#5215

@scabug
Copy link
Author

scabug commented Apr 4, 2017

@SethTisue said:
The PR was closed for inactivity. Would someone else like to pick it up...?

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

Successfully merging a pull request may close this issue.

4 participants