From 051f4389f3505d347384db9271bc63ddf6a9c1cf Mon Sep 17 00:00:00 2001 From: JP Bochi Date: Mon, 1 Aug 2022 16:31:50 +0200 Subject: [PATCH] Add usage note to default list recipe (#1296) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f3bc7f1e2a..9dd556b4b5 100644 --- a/README.md +++ b/README.md @@ -579,6 +579,8 @@ default: @just --list ``` +Note that you may need to add `--justfile {{justfile()}}` to the line above above. Without it, if you executed `just -f /some/distant/justfile -d .` or `just -f ./non-standard-justfile`, the plain `just --list` inside the recipe would not necessarily use the file you provided. It would try to find a justfile in your current path, maybe even resulting in a `No justfile found` error. + The heading text can be customized with `--list-heading`: ```sh