diff --git a/nicsensor.sh b/nicsensor.sh index 9bd4766..cf87432 100755 --- a/nicsensor.sh +++ b/nicsensor.sh @@ -555,11 +555,13 @@ init_debuglog(){ format_log_print $INFO "Disable Detect : $DISABLE_DETECT" if [ "$nic_slot" = "detect" ];then - format_log_print $INFO "Operation Tpye : i2c detect" + format_log_print $INFO "Operation Type : i2c detect" elif [ "$nic_slot" = "version" ];then - format_log_print $INFO "Operation Tpye : get version" + format_log_print $INFO "Operation Type : get version" + elif [ $param_num -lt 2 ];then + format_log_print $INFO "Operation Type : help info" else - format_log_print $INFO "Operation Tpye : read sensor" + format_log_print $INFO "Operation Type : read sensor" fi }