aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-02-16 13:07:27 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-02-20 09:54:35 +0100
commit2b30b026a9778c26c6ef4de2ea6a2942b7705491 (patch)
tree161e47a3bcb4256e0f4b29909c5600f3e7fff67e /compiler/src/dotty/tools/dotc/config/CompilerCommand.scala
parent6df672c7e7be65d7be1cd6524c610aed4f35178c (diff)
downloaddotty-2b30b026a9778c26c6ef4de2ea6a2942b7705491.tar.gz
dotty-2b30b026a9778c26c6ef4de2ea6a2942b7705491.tar.bz2
dotty-2b30b026a9778c26c6ef4de2ea6a2942b7705491.zip
Remove unused flags
Diffstat (limited to 'compiler/src/dotty/tools/dotc/config/CompilerCommand.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/config/CompilerCommand.scala14
1 files changed, 5 insertions, 9 deletions
diff --git a/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala b/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala
index 19ede3cec..6e0c60555 100644
--- a/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala
+++ b/compiler/src/dotty/tools/dotc/config/CompilerCommand.scala
@@ -93,19 +93,15 @@ object CompilerCommand extends DotClass {
def shouldStopWithInfo = {
import settings._
- Set(help, Xhelp, Yhelp, showPlugins, showPhases) exists (_.value)
+ Set(help, Xhelp, Yhelp) exists (_.value)
}
def infoMessage: String = {
import settings._
- if (help.value) usageMessage
- else if (Xhelp.value) xusageMessage
- else if (Yhelp.value) yusageMessage
-// else if (showPlugins.value) global.pluginDescriptions
-// else if (showPhases.value) global.phaseDescriptions + (
-// if (debug.value) "\n" + global.phaseFlagDescriptions else ""
-// )
- else ""
+ if (help.value) usageMessage
+ else if (Xhelp.value) xusageMessage
+ else if (Yhelp.value) yusageMessage
+ else ""
}
if (summary.errors.nonEmpty) {