Revert "Hack getopts to allow arbitrary placement of positional arguments."

This reverts commit 69d69eaaa4196cee9cc199619988c51894baff5f.