-
Notifications
You must be signed in to change notification settings - Fork 481
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
Option values cannot start with dash #709
Comments
This has been fixed by a PR I made, which has been merged into |
In the meantime, you can work around this issue by telling users to use the var parser = new Parser(with => {
with.ParserMode = ParserMode.GetoptParserV2;
}); And then |
I have an option to provide a key to a utility. The key value in one instance happens to start with "-". So running:
utitility.exe --key -gobbledygook123
produces an error message:
ERROR(S):
Option 'g' is unknown.
Required option 'key' is missing.
The text was updated successfully, but these errors were encountered: