diff --git a/inxi b/inxi index 8e8a380..c7c2ace 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.3.0 +#### version: 0.3.1 #### Date: November 1 2008 ######################################################################## #### inxi is a fork of infobash, the original bash sys info script by locsmif @@ -435,7 +435,7 @@ get_parameters() ## note: not sure about this, you'd think user values should be overridden, but ## we'll leave this for now if [ -z "$COLOR_SCHEME" ];then - set_color_scheme "$1" + set_color_scheme "$OPTARG" fi else error_handler 3 "$OPTARG" @@ -456,7 +456,7 @@ get_parameters() ;; v) if [[ -n $( egrep "^[0-$VERBOSITY_LEVELS]$" <<< $OPTARG ) ]];then - VERBOSITY_LEVEL="$opt" + VERBOSITY_LEVEL="$OPTARG" else error_handler 4 "$OPTARG" fi