xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
getopts7.0
(revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
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