Code example misses iEnumerable
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 70/100
Research direction
Open the HelpText-Configuration wiki page and inspect the C# “Example 1” source shown in the issue. Update the example's DisplayHelp signature to include the IEnumerable errs parameter, then verify that the displayed code matches the requested signature and remains valid C#.
Written by the indexing model from the issue text.
Description
Describe the bug
Displayed C# code doesn't work
To Reproduce
Go to the wiki and look at source code C# "Example 1"
https://github.com/commandlineparser/commandline/wiki/HelpText-Configuration
Additional context
The the code "Example 1" following code is wrong:
static void DisplayHelp<T>(ParserResult<T> result)
It should be
static void DisplayHelp<T>(ParserResult<T> result,IEnumerable< Error> errs)
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
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 commandlineparser/commandline
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
commandlineparser/commandline#951 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
commandlineparser/commandline#952 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
commandlineparser/commandline#948 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
commandlineparser/commandline#947 ·
-
awaiting response
Difficulty 5/5 Over a week Newbie friendliness 25/100
commandlineparser/commandline#945 · 1 comment ·
All issues in commandlineparser/commandline
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·