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
Using this example:
import easyargs @easyargs class Foo(object): """This is some help""" def foo(self): pass def bar(self, baz): pass Foo()
Calling this from either Python 2.7 or 3.6 yields different results:
$ python2 example.py usage: example.py [-h] {foo,bar} ... example.py: error: too few arguments $ python3 example.py
I think the output from Python 2.7 is the correct one. Supplying -h as an argument works in both cases.
-h
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using this example:
Calling this from either Python 2.7 or 3.6 yields different results:
I think the output from Python 2.7 is the correct one. Supplying
-h
as an argument works in both cases.The text was updated successfully, but these errors were encountered: