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