Message113479
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. |
|
Date |
User |
Action |
Args |
2010-08-09 21:28:42 | Jeremiah.Jordan | set | recipients:
+ Jeremiah.Jordan, bethard, eric.smith, eric.araujo, Yaniv.Aknin |
2010-08-09 21:28:42 | Jeremiah.Jordan | set | messageid: <1281389322.15.0.112942360907.issue8538@psf.upfronthosting.co.za> |
2010-08-09 21:28:40 | Jeremiah.Jordan | link | issue8538 messages |
2010-08-09 21:28:40 | Jeremiah.Jordan | create | |
|