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