From 5fd33188047c475c8ef0cc0c36c211dcd771f114 Mon Sep 17 00:00:00 2001 From: Tuomas Hietanen Date: Wed, 9 Oct 2024 22:10:25 +0100 Subject: [PATCH] Update core-targets.md Co-authored-by: Andrii Chebukin --- docs/guide/core-targets.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/guide/core-targets.md b/docs/guide/core-targets.md index 9a54f622bfd..5af859263ed 100644 --- a/docs/guide/core-targets.md +++ b/docs/guide/core-targets.md @@ -89,8 +89,9 @@ Now we have the following options: ## Script with arguments -If you don't do `Target.initEnvironment()` at all, then FAKE will only use environment variables already set -(e.g. Windows: `set mything=123`) instead of parsing the command-line `-e`. +If you don't call `Target.initEnvironment()` before you use the `Environment` module, +then FAKE will only use system and inline environment variables +(e.g. Windows: `set mything=123`) instead of parsing the command line `-e` params. If you want multiple environment arguments, you can do `-e a=1 -e b=2`.