# $FreeBSD$ set -- -x getopts :x: var r=$? [ r != 0 ] && [ "$OPTIND" = 2 ]