Global: init support for JSON config file migration (WIP)

This commit is contained in:
李通洲 committed 2023-10-23 16:17:07 +08:00
1 parent 44632e9bf6
commit ec87790e4f
65 files changed
+716 -92

No files matched your search

+10 -1
View File
@@ -81,7 +81,16 @@ void ffPrintProcessesHelpFormat(void)
void ffInitProcessesOptions(FFProcessesOptions* options)
{
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_PROCESSES_MODULE_NAME, ffParseProcessesCommandOptions, ffParseProcessesJsonObject, ffPrintProcesses, ffGenerateProcessesJsonResult, ffPrintProcessesHelpFormat);
ffOptionInitModuleBaseInfo(
&options->moduleInfo,
FF_PROCESSES_MODULE_NAME,
ffParseProcessesCommandOptions,
ffParseProcessesJsonObject,
ffPrintProcesses,
ffGenerateProcessesJsonResult,
ffPrintProcessesHelpFormat,
NULL
);
ffOptionInitModuleArg(&options->moduleArgs);
}