apple / apple/swift-argument-parser
Incorrect flag in error message
Open
bug
- Dominant language
- Swift
- Stars
- 3.8k
- Forks
- 411
- Avg merge
- 7d 14h
- Merged PRs (30d)
- 15
Description
In the following example, the caller has substituted a single dash for a double in the `sound` key/value pair:
```
% remind -d 20 my reminder -sound tink
Error: The value 'tink' is invalid for '-d '
```
The error should read:
```
Error: The value 'tink' is invalid for '-s '
```
Contributor guide
Assessment
This issue has not been assessed yet.