debug comments

This commit is contained in:
inxi-svn 2009-05-28 23:12:00 +00:00
parent 4a81c302ad
commit 5c92c093fc

4
inxi
View file

@ -234,7 +234,7 @@ DEFAULT_SCHEME=2
# Default indentation level
INDENT=10
# logging eval variables, start and end function: Insert to LOGFS LOGFE when debug level == 10
# logging eval variables, start and end function: Insert to LOGFS LOGFE when debug level 9, 10
LOGFS_STRING='log_function_data fs $FUNCNAME "$( echo $@ )"'
LOGFE_STRING='log_function_data fe $FUNCNAME'
LOGFS=''
@ -1033,7 +1033,7 @@ get_parameters()
@) if [[ -n $( egrep "^([1-9]|10)$" <<< $OPTARG ) ]];then
DEBUG=$OPTARG
exec 2>&1
# switch on logging only for -@ 10
# switch on logging only for -@ 9, 10
if [[ $OPTARG -ge 9 ]];then
if [[ $OPTARG -eq 10 ]];then
B_LOG_COLORS='true'