Fix -t <type> option parsing with Slop 3.0+

Fixes #1 and should be backwards compatible with Slop 2.x.
Merge pull request #2 from felixbuenemann/fix-type-selection

Fix -t <type> option parsing with Slop 3.0+