rdmd: Fix --dry-run
rdmd_test: Add test for issue 11983
Merge pull request #113 from CyberShadow/rdmd-20140202

rdmd: Fix `--dry-run`, add test for issue 11983