-
Notifications
You must be signed in to change notification settings - Fork 14
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
'invalid arguments' error when using globaloptions
#51
Comments
Hm, interesting, thanks for report. I'll try to fix this ASAP. |
Hm, I can't reproduce it. Which version of opster do you use? |
Oh well, I'm sorry, I actually can. I'll consider that's a bug since I should improve error messaging somehow, but in short - add parameters to your commands so that they can receive those globaloptions. Even |
Oh, I see. Adding |
Well, you can always pass your own usage string in |
I'm seeing a strange behavior when using
globaloptions
- specifying this keyword argument todispatch
seems to override the arguments introspected from the function.This should reproduce it: https://gist.github.com/3672842
The text was updated successfully, but these errors were encountered: