From ad3bfb87fdd647d65627fbe24a5d90d8e4f3f5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dezs=C5=91=20BICZ=C3=93?= Date: Thu, 3 Oct 2024 16:17:30 +0200 Subject: [PATCH] Add version information to Controlling additional arguments doc (#12143) --- doc/articles/scripts.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/articles/scripts.md b/doc/articles/scripts.md index 5ed3bf6c3..90dfa3672 100644 --- a/doc/articles/scripts.md +++ b/doc/articles/scripts.md @@ -412,6 +412,8 @@ the PHP executable available in it as a `PHP_BINARY` env var. ## Controlling additional arguments +As of Composer 2.8, you can control how additional arguments are passed to script commands. + When running scripts like `composer script-name arg arg2` or `composer script-name -- --option`, Composer will by default append `arg`, `arg2` and `--option` to the script's command.