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