Lines Matching refs:OPTARG
43 [[ $foo == x && $OPTARG == foobar ]] || err_exit "getopts :x: failed"
46 if [[ $var != : || $OPTARG != r ]]
51 if [[ $OPT != d || $OPTARG != 16177 ]]
52 then err_exit "'getopts :d#u OPT=d OPTARG=16177' failed -- OPT=$OPT OPTARG=$OPTARG"
69 [[ $OPT == S && $OPTARG == $2 ]] || err_exit "OPT=$OPT OPTARG=$OPTARG -- expected OPT=S OPTARG=$2"
360 [[ $OPTARG == 3 ]] || err_exit 'getopts with numerical arguments failed'
413 a|c) [[ $OPTARG ]] && err_exit "getopts $options \$OPTARG for flag $opt failed, expected \"\", got \"$OPTARG\"" ;;
414 b) [[ $OPTARG == $optarg ]] || err_exit "getopts $options \$OPTARG failed -- \"$optarg\" expected, got \"$OPTARG\"" ;;