Display: rename --temperature-* to --temp-* as stated in help messages

Fix #908
This commit is contained in:
李通洲
2024-05-09 08:46:52 +08:00
parent 852c6abf2e
commit 31c433b353
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void ffTempsAppendNum(double celsius, FFstrbuf* buffer, FFColorRangeConfig confi
}
}
switch (options->temperatureUnit)
switch (options->tempUnit)
{
case FF_TEMPERATURE_UNIT_CELSIUS:
ffStrbufAppendF(buffer, "%.*f°C", options->tempNdigits, celsius);