Fail on invalid argument.

getopts outputs a decent error message to stderr so no need to call
die().