Docs: fix typos on Input-Tasks page

This commit is contained in:
Mark Harrah 2013-05-08 12:56:50 -04:00
parent 51bd1e8ceb
commit 772d1aebf6
1 changed files with 5 additions and 5 deletions

View File

@ -151,7 +151,7 @@ Using other input tasks
=======================
The types involved in an input task are composable, so it is possible to reuse input tasks.
The ``.parsed`` and ``.`` methods are defined on InputTasks to make this more convenient in common situations:
The ``.parsed`` and ``.evaluated`` methods are defined on InputTasks to make this more convenient in common situations:
* Call ``.parsed`` on an ``InputTask[T]`` or ``Initialize[InputTask[T]]`` to get the ``Task[T]`` created after parsing the command line
* Call ``.evaluated`` on an ``InputTask[T]`` or ``Initialize[InputTask[T]]`` to get the value of type ``T`` from evaluating that task
@ -166,10 +166,10 @@ so that the arguments before ``--`` are passed to the first ``run`` and the ones
::
val run2 = inputKey[Unit](
"Runs the main class twice with different argument lists separated by ---")
val separator: Parser[String] = "--"
"Runs the main class twice with different argument lists separated by --")
val separator: Parser[String] = "--"
run2 := {
val one = (run in Compile).evaluated
val sep = separator.parsed