Message266623
The message is correct. The default value of foo is True. It would be just as misleading to say default: False, since that would imply the default value of foo was false. It also makes no sense to think it would mean the default value of 'no-foo' is False.
Instead, if you want to use ArgumentDefaultsHelpFormatter instead of controlling when defaults are displayed, change your help string to read something like: "Set foo to False". |
|
Date |
User |
Action |
Args |
2016-05-29 20:01:47 | r.david.murray | set | recipients:
+ r.david.murray, Colin Morris |
2016-05-29 20:01:47 | r.david.murray | set | messageid: <1464552107.28.0.579538272592.issue27153@psf.upfronthosting.co.za> |
2016-05-29 20:01:47 | r.david.murray | link | issue27153 messages |
2016-05-29 20:01:47 | r.david.murray | create | |
|