mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 01:56:28 +01:00
Global: init support for JSON config file migration (WIP)
This commit is contained in:
@@ -117,7 +117,16 @@ void ffPrintWeatherHelpFormat(void)
|
||||
|
||||
void ffInitWeatherOptions(FFWeatherOptions* options)
|
||||
{
|
||||
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_WEATHER_MODULE_NAME, ffParseWeatherCommandOptions, ffParseWeatherJsonObject, ffPrintWeather, ffGenerateWeatherJsonResult, ffPrintWeatherHelpFormat);
|
||||
ffOptionInitModuleBaseInfo(
|
||||
&options->moduleInfo,
|
||||
FF_WEATHER_MODULE_NAME,
|
||||
ffParseWeatherCommandOptions,
|
||||
ffParseWeatherJsonObject,
|
||||
ffPrintWeather,
|
||||
ffGenerateWeatherJsonResult,
|
||||
ffPrintWeatherHelpFormat,
|
||||
NULL
|
||||
);
|
||||
ffOptionInitModuleArg(&options->moduleArgs);
|
||||
|
||||
ffStrbufInit(&options->location);
|
||||
|
||||
Reference in New Issue
Block a user