Fastfetch: print error when invalid freq option is found

This commit is contained in:
李通洲
2024-07-23 09:55:48 +08:00
parent 83dcdaa726
commit deacecdc11
+2
View File
@@ -392,6 +392,8 @@ bool ffOptionsParseDisplayCommandLine(FFOptionsDisplay* options, const char* key
const char* subkey = key + strlen("--freq-");
if(ffStrEqualsIgnCase(subkey, "ndigits"))
options->freqNdigits = (int8_t) ffOptionParseInt32(key, value);
else
return false;
}
else
return false;