xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
getopts7.0
(revision 36712a94975f5bd0d26c85377283b49a2369c82f)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
# $FreeBSD$
2
3
set -- -x
4
getopts :x: var
5
r=$?
6
[ r != 0 ] && [ "$OPTIND" = 2 ]
7