biocore / pyqi

Tools for developing and testing command line interfaces in Python.
Other
9 stars 13 forks source link

Add bool data type to optparse #225

Open ebolyen opened 10 years ago

ebolyen commented 10 years ago

Currently to have a boolean flag, an optparse config must have Type=None and Action=store_true.

This should be simplified to Type=bool

jairideout commented 10 years ago

:+1:

This is a Good Idea :tm: