Jeremiah Jordan <jeremiah.jor...@gmail.com> added the comment:

I think this should be updated so that nargs=0 is allowed, so that you can only 
do --foo/--no-foo and don't clutter up the help/interface with --foo [FOO] 
--no-foo=[FOO]

You can do this by adding nargs to the ConfigureAction.__init__ and passing 
that through to super, and then updating __call__ to check 'if value is None or 
value == []:' instead of the None.

----------
nosy: +Jeremiah.Jordan

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to