added useful docblock
Merge pull request #1 from fobilow/master

added docblock for getOptions