diff options
author | Paul Phillips <paulp@improving.org> | 2012-11-13 08:35:21 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-11-20 14:12:36 -0800 |
commit | 373ded2ad31e6c9d85a6e3ca40774913ba2ab4f9 (patch) | |
tree | 2d99e7a43294faa16eae5dc836dcb4f90276452b /src/compiler/scala/tools/nsc/CompilerCommand.scala | |
parent | 69d850c8993765e4b3008f8bcc99b90937df9ffb (diff) | |
download | scala-373ded2ad31e6c9d85a6e3ca40774913ba2ab4f9.tar.gz scala-373ded2ad31e6c9d85a6e3ca40774913ba2ab4f9.tar.bz2 scala-373ded2ad31e6c9d85a6e3ca40774913ba2ab4f9.zip |
Remove code from compiler central.
All those old-timey methods whose melodies have become
unfashionable.
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompilerCommand.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/CompilerCommand.scala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/CompilerCommand.scala b/src/compiler/scala/tools/nsc/CompilerCommand.scala index 829e097714..0462e69f74 100644 --- a/src/compiler/scala/tools/nsc/CompilerCommand.scala +++ b/src/compiler/scala/tools/nsc/CompilerCommand.scala @@ -14,9 +14,6 @@ class CompilerCommand(arguments: List[String], val settings: Settings) { type Setting = Settings#Setting - /** file extensions of files that the compiler can process */ - lazy val fileEndings = Properties.fileEndings - private val processArgumentsResult = if (shouldProcessArguments) processArguments else (true, Nil) @@ -40,8 +37,6 @@ class CompilerCommand(arguments: List[String], val settings: Settings) { """.stripMargin.trim + "\n" def shortUsage = "Usage: %s <options> <source files>" format cmdName - def createUsagePreface(shouldExplain: Boolean) = - if (shouldExplain) shortUsage + "\n" + explainAdvanced else "" /** Creates a help message for a subset of options based on cond */ def createUsageMsg(cond: Setting => Boolean): String = { |