Fixed parsing issues in parse_options function
Merge pull request #14 from Rainbowlemon/master

Fixed parsing issues in parse_options function