Printing: fix --help *-format

This commit is contained in:
李通洲
2023-10-08 09:46:40 +08:00
committed by 李通洲
parent e4a6bf17e4
commit 49e2acd15e
+1 -1
View File
@@ -143,7 +143,7 @@ void ffPrintModuleFormatHelp(const char* name, const char* def, uint32_t numArgs
puts("The following values are passed:");
for(unsigned i = 0; i < numArgs; i++)
printf(" {%u}: %s\n", i, args[i]);
printf(" {%u}: %s\n", i + 1, args[i]);
printf("The default is something similar to \"%s\".\n", def);
}