Skip to content

Commit

Permalink
Add version information to Controlling additional arguments doc (#12143)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 authored Oct 3, 2024
1 parent 4e3496e commit ad3bfb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/articles/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit ad3bfb8

Please sign in to comment.