diff options
Diffstat (limited to 'src/dotty/tools/dotc/config/CompilerCommand.scala')
-rw-r--r-- | src/dotty/tools/dotc/config/CompilerCommand.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/config/CompilerCommand.scala b/src/dotty/tools/dotc/config/CompilerCommand.scala index e34ca07f9..2fe32b4d3 100644 --- a/src/dotty/tools/dotc/config/CompilerCommand.scala +++ b/src/dotty/tools/dotc/config/CompilerCommand.scala @@ -110,18 +110,18 @@ object CompilerCommand extends DotClass { if (summary.errors.nonEmpty) { summary.errors foreach (ctx.error(_)) - ctx.println(" dotc -help gives more information") + ctx.echo(" dotc -help gives more information") Nil } else if (settings.version.value) { - ctx.println(versionMsg) + ctx.echo(versionMsg) Nil } else if (shouldStopWithInfo) { - ctx.println(infoMessage) + ctx.echo(infoMessage) Nil } else { - if (sourcesRequired && summary.arguments.isEmpty) ctx.println(usageMessage) + if (sourcesRequired && summary.arguments.isEmpty) ctx.echo(usageMessage) summary.arguments } } |