Change variables for getopts to be local.