felixSchl/neodoc

False positive check for presence of special flags

felixSchl opened this issue · 0 comments

These checks are wrong:

output | canExit && output `has` opts.helpFlags -> ShowHelp help
output | canExit && output `has` opts.versionFlags -> ShowVersion

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