add method for defining a flag-only attribute
Merge pull request #44 from mojavelinux/flag-only-attribute

add method for defining a flag-only attribute