Skip to content

Commit

Permalink
Use -CommandWithArgs instead of -cwa (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Oct 1, 2024
1 parent fa8cf4d commit 45fdd12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1136,11 +1136,11 @@ 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:
If using PowerShell 7.4 or better, the `-CommandWithArgs` flag will make
positional arguments work as expected:

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

#### Shell
Expand Down

0 comments on commit 45fdd12

Please sign in to comment.