[ADD/WIP] Parsee IDs, -v flag

This commit is contained in:
LDA 2024-08-16 16:38:21 +02:00
commit aa9b68e02d
7 changed files with 56 additions and 13 deletions

View file

@ -56,7 +56,7 @@ Main(Array *args, HashMap *env)
int http = 8;
ArgParseStateInit(&state);
while ((flag = ArgParse(&state, args, "gH:J:")) != -1)
while ((flag = ArgParse(&state, args, "vgH:J:")) != -1)
{
switch (flag)
{
@ -73,6 +73,9 @@ Main(Array *args, HashMap *env)
ParseeExportConfigYAML(yaml);
StreamClose(yaml);
goto end;
case 'v':
LogConfigLevelSet(LogConfigGlobal(), LOG_DEBUG);
break;
}
}
ParseeSetThreads(xmpp, http);