Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code example misses iEnumerable #880

Open
Tanarri opened this issue Mar 22, 2023 · 0 comments
Open

Code example misses iEnumerable #880

Tanarri opened this issue Mar 22, 2023 · 0 comments

Comments

@Tanarri
Copy link

Tanarri commented Mar 22, 2023

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant