Skip to content

Commit a9812ac

Browse files
committed
Support JEP 293 style long command-line options for scaladoc
1 parent 23206a2 commit a9812ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scaladoc/scala/tools/nsc/doc/Settings.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class Settings(error: String => Unit, val printMsg: String => Unit = println(_))
223223
docDiagramsMaxNormalClasses, docDiagramsMaxImplicitClasses,
224224
docNoPrefixes, docNoLinkWarnings, docRawOutput, docSkipPackages,
225225
docExpandAllTypes, docGroups, docNoJavaComments
226-
)
226+
).map(s => s.withAbbreviation("-" + s.name))
227227
val isScaladocSpecific: String => Boolean = scaladocSpecific map (_.name)
228228

229229
override def isScaladoc = true

0 commit comments

Comments
 (0)