Create the options parser with peg.js, because why not?
Use the manually written parser, it's like 10 times smaller :)