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
@@ -45,7 +45,7 @@ void ffPrintShell(FFShellOptions* options)
void ffInitShellOptions(FFShellOptions* options)
{
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_SHELL_MODULE_NAME, ffParseShellCommandOptions, ffParseShellJsonObject, ffPrintShell);
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_SHELL_MODULE_NAME, ffParseShellCommandOptions, ffParseShellJsonObject, ffPrintShell, NULL);
ffOptionInitModuleArg(&options->moduleArgs);
}