From f071f75c67dd331e3f3efb74831da9a2f85ad165 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Fri, 11 Nov 2016 13:31:26 -0800 Subject: [PATCH] Improve recipes with parameters section of readme (#41) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0384e08..385729e 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ $ just --evaluate raw-string = "\t\n\r\"\\" ``` -Recipes may take arguments. Here recipe `build` takes an argument called `target`: +Recipes may have parameters. Here recipe `build` has a parameter called `target`: ```make build target: @@ -174,7 +174,9 @@ build target: cd {{target}} && make ``` -Only one recipe that takes arguments may given on the command line, and other recipes may not depend on it. To pass arguments put them after the recipe name: +Recipes with parameters have limitations. Other recipes may not depend on them, and only one recipe with parameters may be given on the command line. + +To pass arguments, put them after the recipe name: ```sh $ just build my-awesome-project