Skip to content

Commit

Permalink
Document -cwa flag for PowerShell positional arguments (#2403)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Oct 1, 2024
1 parent 5089bf7 commit fa8cf4d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,13 @@ Note that PowerShell does not handle positional arguments in the same way as
other shells, so turning on positional arguments will likely break recipes that
use PowerShell.

If using PowerShell 7.4 or better, the `-cwa` flag will make positional
arguments work as expected:

```just
set shell := ['powershell.exe', '-cwa']
```

#### Shell

The `shell` setting controls the command used to invoke recipe lines and
Expand Down

0 comments on commit fa8cf4d

Please sign in to comment.