Fix '-f' option and getopts optstring.