bug icon indicating copy to clipboard operation
bug copied to clipboard

scaladoc continues with bad option

Open scabug opened this issue 9 years ago • 3 comments

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 avatar May 26 '16 10:05 scabug

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

scabug avatar May 26 '16 10:05 scabug

Chase Long (chasel_long) said: I submitted a PR for this: https://github.com/scala/scala/pull/5215

scabug avatar Jun 05 '16 23:06 scabug

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

scabug avatar Apr 04 '17 16:04 scabug