Global: :%s/ffGenerate\w+Json/$0Result/g

This commit is contained in:
李通洲 committed 2023-10-23 13:32:39 +08:00
1 parent 40d6d0b7b5
commit e7938216ba
106 files changed
+159 -159

No files matched your search

+2 -2
View File
@@ -44,7 +44,7 @@ void ffPrintShell(FFShellOptions* options)
void ffInitShellOptions(FFShellOptions* options)
{
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_SHELL_MODULE_NAME, ffParseShellCommandOptions, ffParseShellJsonObject, ffPrintShell, ffGenerateShellJson, ffPrintShellHelpFormat);
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_SHELL_MODULE_NAME, ffParseShellCommandOptions, ffParseShellJsonObject, ffPrintShell, ffGenerateShellJsonResult, ffPrintShellHelpFormat);
ffOptionInitModuleArg(&options->moduleArgs);
}
@@ -80,7 +80,7 @@ void ffParseShellJsonObject(FFShellOptions* options, yyjson_val* module)
}
}
void ffGenerateShellJson(FF_MAYBE_UNUSED FFShellOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module)
void ffGenerateShellJsonResult(FF_MAYBE_UNUSED FFShellOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module)
{
const FFTerminalShellResult* result = ffDetectTerminalShell();