Duplicate option displays wrong error message...
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the parser behavior with a duplicated --request option, then trace the duplicate-option error handling in the optparse-applicative codebase. Done means the parser reports that the option is duplicated rather than invalid, with tests covering the message.
Written by the indexing model from the issue text.
Description
I have a parser accepting --request option, and when user accidentally uses it twice, the error message says:
Invalid option `--request'
It should probably report:
Duplicated option is not allowed `--request'
Otherwise user things that the option name is wrong.
- Dominant language
- Haskell
- Stars
- 959
- Forks
- 123
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pcapriotti/optparse-applicative
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
pcapriotti/optparse-applicative#524 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
pcapriotti/optparse-applicative#523 · 1 comment · 1 reaction ·
-
Nushell Completions Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
pcapriotti/optparse-applicative#513 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
pcapriotti/optparse-applicative#495 · 2 comments ·
All issues in pcapriotti/optparse-applicative
Similar issues
-
time-manager-0.4.0 Openfailure: bounds
Difficulty 1/5 Under an hour Newbie friendliness 72/100
commercialhaskell/stackage#8122 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
simplex-chat/simplex-chat#7547 ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 90/100
alunduil/alunduil-chezmoi#775 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
objectionary/phino#1350 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100