We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
public class Arguments { [Option("arg1", Required = true)] public string Arg1 { get; set; } [Option("arg2", Required = true)] public IEnumerable<string> Arg2 { get; set; } }
When i call:
// In console: --arg1=test --arg2=Value1 --arg2=Value2 var args = new [] { "--arg1=test", "--arg2=Value1", "--arg2=Value2" }; var arguments = Parser.Default.ParseArguments<Arguments>(args)
I have RepeatedOptionError
The text was updated successfully, but these errors were encountered:
It's fixed if set "AllowMultiInstance" flag:
var parser = new Parser(settings => { settings.AllowMultiInstance = true; settings.EnableDashDash = true; });
But I discovered it by accident. Worth adding to the documentation
Sorry, something went wrong.
This duplicates #357 , and fixed by #678
No branches or pull requests
When i call:
I have RepeatedOptionError
The text was updated successfully, but these errors were encountered: