die if argument #1 to getopt() is an invalid value