add some minimal option parsing, re #11
cabal-install 1.20.0.3
v7.8.3-r1