felixSchl / neodoc

Beautiful, hand-crafted commandline interfaces for node.js
https://felixschl.github.io/neodoc
MIT License
229 stars 9 forks source link

False positive check for presence of special flags #73

Closed felixSchl closed 8 years ago

felixSchl commented 8 years ago

These checks are wrong:

https://github.com/felixSchl/neodoc/blob/ce6a5137a8eeeb1895fcefed6994b93b31d2e8d2/src/Docopt/Docopt.purs#L138-L139

They have to check not only for presence but also for non-false.