1
0
Fork 0

Add version information to Controlling additional arguments doc (#12143)

pull/12148/head
Dezső BICZÓ 2024-10-03 16:17:30 +02:00 committed by GitHub
parent 4e3496e1bf
commit ad3bfb87fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -412,6 +412,8 @@ the PHP executable available in it as a `PHP_BINARY` env var.
## Controlling additional arguments ## 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`, 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. Composer will by default append `arg`, `arg2` and `--option` to the script's command.