From 1aa62151914f45bacbd74b00bed11c49a639a0eb Mon Sep 17 00:00:00 2001 From: beolnix Date: Sat, 12 Jan 2013 14:34:16 +0400 Subject: [PATCH] fix documentation bug: the main class should be "sbt.ScriptMain" in the paragraph about the scalas --- src/sphinx/Detailed-Topics/Scripts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sphinx/Detailed-Topics/Scripts.rst b/src/sphinx/Detailed-Topics/Scripts.rst index 1e7ea9102..da3380e62 100644 --- a/src/sphinx/Detailed-Topics/Scripts.rst +++ b/src/sphinx/Detailed-Topics/Scripts.rst @@ -39,7 +39,7 @@ Duplicate your standard ``sbt`` script, which was set up according to :doc:`Setup `, as ``scalas`` and ``screpl`` (or whatever names you like). -``scalas`` is the script runner and should use ``sbt.ConsoleMain`` as +``scalas`` is the script runner and should use ``sbt.ScriptMain`` as the main class, by adding the ``-Dsbt.main.class=sbt.ScriptMain`` parameter to the ``java`` command. Its command line should look like: