Home | History | Annotate | Download | only in tools

Lines Matching refs:opt

340     local opt text abstract default
353 for opt in $OPTIONS; do
354 text=`option_get_attr $opt text | awk "$AWK_SCRIPT"`
355 abstract=`option_get_attr $opt abstract`
356 default=`option_get_attr $opt default`
380 local opt optname otype value name fin funcname
398 opt=`expr -- "$1" : '^\(--[^=]*\)=.*$'`
399 if [ -n "$opt" ] ; then
406 opt=`expr -- "$1" : '^\(--.*\)$'`
407 if [ -n "$opt" ] ; then
414 opt=`expr -- "$1" : '^\(-[A-Za-z0-9]\)..*$'`
415 if [ -n "$opt" ] ; then
422 opt=`expr -- "$1" : '^\(-.\)$'`
423 if [ -n "$opt" ] ; then
433 #echo "Found opt='$opt' otype='$otype' value='$value'"
435 name=`dashes_to_underscores $opt`
449 option_panic_no_args $opt
453 option_panic_missing_arg $opt
459 option_panic_no_args $opt
462 option_panic_missing_arg $opt
471 echo "ERROR: Unknown option '$opt'. See --help for usage."