Skip to content

Commit 40d2342

Browse files
authored
Add note about CL.arguments to the changelog (#611)
1 parent a3d53a7 commit 40d2342

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ Add new items at the end of the relevant section under **Unreleased**.
2121

2222
*Migration:* Users that aren't ready to resolve sendability warnings can add the
2323
`@preconcurrency` attribute to `import ArgumentParser` statements.
24+
25+
As part of this update, changes to the `CommandLine.arguments` array before a command's
26+
`main` or `parse...` methods are called are no longer observed. Instead of making
27+
changes to `CommandLine.arguments`, pass an updated array of arguments to the command's
28+
method.
2429

2530
- To support migration to `Sendable` annotation, the minimum Swift version for
2631
`swift-argument-parser` has been increased to Swift 5.7. Users of older Swift versions

0 commit comments

Comments
 (0)