apple / apple/swift-argument-parser

Incorrect flag in error message

Open
#136 4 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.