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
|
||||
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'
|
||||
|
|
Loading…
Reference in a new issue