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