Fixed mistake in getopts