Revert "Fix getopts -d"

This reverts commit 3b98a0b678f7f9df856518ab0808551837a1984a.
reverting debug commit

should have used -v