Global: init --format json support (#527)

This commit is contained in:
李通洲 committed 2023-09-05 15:29:46 +08:00
1 parent 2f46a77ff2
commit 14f26879de
66 files changed
+321 -153

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ void ffPrintCommand(FFCommandOptions* options)
void ffInitCommandOptions(FFCommandOptions* options)
{
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_COMMAND_MODULE_NAME, ffParseCommandCommandOptions, ffParseCommandJsonObject, ffPrintCommand);
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_COMMAND_MODULE_NAME, ffParseCommandCommandOptions, ffParseCommandJsonObject, ffPrintCommand, NULL);
ffOptionInitModuleArg(&options->moduleArgs);
ffStrbufInitStatic(&options->shell,