|
@@ -1324,8 +1324,8 @@ static struct opt_table opt_config_table[] = {
|
|
|
#endif
|
|
#endif
|
|
|
#if defined(HAVE_ADL) || defined(USE_BITFORCE) || defined(USE_MODMINER)
|
|
#if defined(HAVE_ADL) || defined(USE_BITFORCE) || defined(USE_MODMINER)
|
|
|
OPT_WITH_ARG("--temp-cutoff",
|
|
OPT_WITH_ARG("--temp-cutoff",
|
|
|
- set_temp_cutoff, opt_show_intval, &opt_cutofftemp,
|
|
|
|
|
- "Temperature where a device will be automatically disabled, one value or comma separated list"),
|
|
|
|
|
|
|
+ set_temp_cutoff, NULL, &opt_cutofftemp,
|
|
|
|
|
+ "Maximum temperature devices will be allowed to reach before being disabled, one value or comma separated list"),
|
|
|
#endif
|
|
#endif
|
|
|
#if defined(HAVE_ADL) || defined(USE_MODMINER)
|
|
#if defined(HAVE_ADL) || defined(USE_MODMINER)
|
|
|
OPT_WITH_ARG("--temp-hysteresis",
|
|
OPT_WITH_ARG("--temp-hysteresis",
|