bug fix, changed $opt to $OPTARG

This commit is contained in:
inxi-svn 2008-11-01 21:30:53 +00:00
parent 7e4c53a7e5
commit e956ee03f3

4
inxi
View file

@ -438,7 +438,7 @@ get_parameters()
set_color_scheme "$1" set_color_scheme "$1"
fi fi
else else
error_handler 3 "$opt" error_handler 3 "$OPTARG"
fi fi
;; ;;
C) C)
@ -458,7 +458,7 @@ get_parameters()
if [[ -n $( egrep "^[0-$VERBOSITY_LEVELS]$" <<< $OPTARG ) ]];then if [[ -n $( egrep "^[0-$VERBOSITY_LEVELS]$" <<< $OPTARG ) ]];then
VERBOSITY_LEVEL="$opt" VERBOSITY_LEVEL="$opt"
else else
error_handler 4 "$opt" error_handler 4 "$OPTARG"
fi fi
;; ;;
U) U)