zedshaw / lamson

Pythonic SMTP Application Server
http://lamsonproject.org/
Other
733 stars 199 forks source link

lamson.args cannot interpret True as bool #6

Open wRAR opened 12 years ago

wRAR commented 12 years ago

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).