mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-03 11:44:18 +01:00
Global: init support for JSON config file migration (WIP)
This commit is contained in:
+10
-1
@@ -127,7 +127,16 @@ void ffPrintSwapHelpFormat(void)
|
||||
|
||||
void ffInitSwapOptions(FFSwapOptions* options)
|
||||
{
|
||||
ffOptionInitModuleBaseInfo(&options->moduleInfo, FF_SWAP_MODULE_NAME, ffParseSwapCommandOptions, ffParseSwapJsonObject, ffPrintSwap, ffGenerateSwapJsonResult, ffPrintSwapHelpFormat);
|
||||
ffOptionInitModuleBaseInfo(
|
||||
&options->moduleInfo,
|
||||
FF_SWAP_MODULE_NAME,
|
||||
ffParseSwapCommandOptions,
|
||||
ffParseSwapJsonObject,
|
||||
ffPrintSwap,
|
||||
ffGenerateSwapJsonResult,
|
||||
ffPrintSwapHelpFormat,
|
||||
NULL
|
||||
);
|
||||
ffOptionInitModuleArg(&options->moduleArgs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user