mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
debug comments
This commit is contained in:
parent
4a81c302ad
commit
5c92c093fc
4
inxi
4
inxi
|
@ -234,7 +234,7 @@ DEFAULT_SCHEME=2
|
||||||
# Default indentation level
|
# Default indentation level
|
||||||
INDENT=10
|
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 $@ )"'
|
LOGFS_STRING='log_function_data fs $FUNCNAME "$( echo $@ )"'
|
||||||
LOGFE_STRING='log_function_data fe $FUNCNAME'
|
LOGFE_STRING='log_function_data fe $FUNCNAME'
|
||||||
LOGFS=''
|
LOGFS=''
|
||||||
|
@ -1033,7 +1033,7 @@ get_parameters()
|
||||||
@) if [[ -n $( egrep "^([1-9]|10)$" <<< $OPTARG ) ]];then
|
@) if [[ -n $( egrep "^([1-9]|10)$" <<< $OPTARG ) ]];then
|
||||||
DEBUG=$OPTARG
|
DEBUG=$OPTARG
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
# switch on logging only for -@ 10
|
# switch on logging only for -@ 9, 10
|
||||||
if [[ $OPTARG -ge 9 ]];then
|
if [[ $OPTARG -ge 9 ]];then
|
||||||
if [[ $OPTARG -eq 10 ]];then
|
if [[ $OPTARG -eq 10 ]];then
|
||||||
B_LOG_COLORS='true'
|
B_LOG_COLORS='true'
|
||||||
|
|
Loading…
Reference in a new issue