Cross Reference: getopts7.0
xref
: /
freebsd-12-stable
/
bin
/
sh
/
tests
/
builtins
/
getopts7.0
Home
History
Annotate
Line#
Navigate
Raw
Download
only in
/freebsd-12-stable/bin/sh/tests/builtins/
1
# $FreeBSD$
2
3
set -- -x
4
getopts :x: var
5
r=$?
6
[ r != 0 ] && [ "$OPTIND" = 2 ]
7