xref: /freebsd/bin/sh/tests/builtins/getopts3.0 (revision 6b129086dcee14496517fae085b448e3edc69bc7)
1# $FreeBSD$
2
3shift $#
4getopts x opt
5r=$?
6[ "$r" != 0 ] && [ "$OPTIND" = 1 ]
7