Use the recommended sbt.log.format property instead of noformat in the docs

This commit is contained in:
Mark Harrah 2013-05-27 19:12:39 -04:00
parent fa591364f7
commit bd65895b9e
2 changed files with 8 additions and 6 deletions

View File

@ -221,7 +221,7 @@ influence SBT execution. Also see :doc:`Launcher`.
<tr>
<td>
``sbt.log.noformat``
``sbt.log.format``
.. raw:: html
@ -235,15 +235,17 @@ Boolean
</td>
<td>
false
unset
.. raw:: html
</td>
<td>
If true, disable ANSI color codes. Useful on build servers or terminals
If true, enable ANSI escape codes such as colors.
If false, disable them, which can be useful on build servers or terminals
that don't support color.
If unset, whether to use escape codes is automatically detected.
.. raw:: html

View File

@ -218,12 +218,12 @@ get output that looks like:
[0m[ [0minfo [0m] [0mSet current project to root
or ansi codes are supported but you want to disable colored output. To
completely disable ansi codes, set the ``sbt.log.noformat`` system
property to ``true``. For example,
completely disable ansi codes, set the ``sbt.log.format`` system
property to ``false``. For example,
.. code-block :: console
$ sbt -Dsbt.log.noformat=true
$ sbt -Dsbt.log.format=false
How can I start a Scala interpreter (REPL) with sbt project configuration (dependencies, etc.)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~