-
Notifications
You must be signed in to change notification settings - Fork 481
How does dashdash work in 2.x? #422
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
Comments
To use double dash, you define options with longName, like
Then, to use
No space between -- and the option Filename is a free option without singlee /or double dash. |
Is DashDash not an option to enable the end of options delimiter? Or does command line always do that?
Usage
then |
DashDash enable the end of options delimiter in the custom Parser as you did. See this answer by @nemec with example I test your example with minor modification, and it's working with DashDash support These are working
Try it online |
I thought it was broke due to #156 I tried
and got no error. Since dashdash is working I can close this. |
i want to have a command line as:
So I tried
I get the error:
So what's the correct way of doing this in 2.x?
The text was updated successfully, but these errors were encountered: