-
Notifications
You must be signed in to change notification settings - Fork 146
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
Unable to add short version of option #132
Comments
I see this which looks wrong |
I don't know. The error message is just the generic: params are not right.. |
I also want it to be mandatory that if you pass -o or --output that you pass |
To note if I do this:
I get the following error:
I also get an error with I have tried:
Is what I want impossible? |
What you’re trying to do is not impossible. You just haven’t got the syntax quite right. Try this:
I encourage you to play around with this online tool. It’s great for prototyping. |
@Kerndog73
Added
Still getting the same error:
|
That’s because |
Not sure if I follow you.. but I did
and got:
Not exactly sure why this is breaking now... I mean.. this at least worked before with just |
You spelled it No, the errors are not helpful and would be super helpful (but super hard :( ) .. there is an Issue open fort hat. |
@jaredgrubb this is what I get for trying to program late at night!
Now the -o is not longer a boolean option and everything works. Thanks @jaredgrubb , @Kerndog73. for helping me with this, was really going crazy. |
I have the following:
I then call
my_program
:my_program.exe --output=test ./dir/
this gives me an error of
Arguments did not match expected patterns
If I remove the
-o <file>
so thatUSAGE
becomes:All works as expected. Shouldn't the
-o <file>
work?The text was updated successfully, but these errors were encountered: