Fixing -r option
Merge pull request #8 from benjreinhart/master

Fixes #7