fixed double -d opts
Merge pull request #1 from azryve/fixopt

fixed double -d opts