Option typo corrected.
Corrected getopts.
Merge pull request #12 from Nycroth/master

Option typo corrected.