Skip to content

Commit 723868a

Browse files
authored
Merge branch 'main' into async
2 parents 5ade2c1 + b3a9c24 commit 723868a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ArgumentParser/Documentation.docc/Articles/ManualParsing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The static `parseOrExit()` method either returns a fully initialized instance of
3030
We can perform validation on the inputs and exit the script if necessary:
3131

3232
```swift
33-
guard let options.elements.count >= options.count else {
33+
guard options.elements.count >= options.count else {
3434
let error = ValidationError("Please specify a 'count' less than the number of elements.")
3535
SelectOptions.exit(withError: error)
3636
}

0 commit comments

Comments
 (0)