Corrected getopts.