From 772d1aebf6fc8d39d555e1b3051655cf2bb8aede Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Wed, 8 May 2013 12:56:50 -0400 Subject: [PATCH] Docs: fix typos on Input-Tasks page --- src/sphinx/Extending/Input-Tasks.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sphinx/Extending/Input-Tasks.rst b/src/sphinx/Extending/Input-Tasks.rst index 7dc68efb1..d8bce2da8 100644 --- a/src/sphinx/Extending/Input-Tasks.rst +++ b/src/sphinx/Extending/Input-Tasks.rst @@ -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