trevorld / r-argparse

command-line optional and positional argument parser
https://trevorldavis.com/R/argparse/
GNU General Public License v2.0
104 stars 11 forks source link

Throw a warning or error if type set to "logical" and action = "store" #9

Closed trevorld closed 9 years ago

trevorld commented 9 years ago

Python 'argparse' in this case returns all strings as True except for the empty string which is not what people probably want or expect...

trevorld commented 9 years ago

Reported by Martí Duran Ferrer