Skip to content
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

lamson.args cannot interpret True as bool #6

Open
wRAR opened this issue Jun 9, 2012 · 0 comments
Open

lamson.args cannot interpret True as bool #6

wRAR opened this issue Jun 9, 2012 · 0 comments

Comments

@wRAR
Copy link

wRAR commented Jun 9, 2012

If you use some -arg it will be set to True. You can also pass -arg True and it will be still set to True. But you cannot pass False in any way, you can only pass "False" which is pointless and misleading.

I've also found http://pydoc.net/lamson/0.9/lamson.args which says "if you give a boolean then your users can indicate that boolean is true by giving just the option (-horribly) or specify the truth (-horribly False)" which is even more misleading (maybe that's why it was removed in later versions).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant