fix inconsistent naming (flag to flags)
Merge pull request #138 from jasisk/flag-fix

Fix to make flag-type doc tags work