Printing: fix --help *-format

This commit is contained in:
李通洲 authored and 李通洲 committed 2023-10-08 09:51:51 +08:00
1 parent e4a6bf17e4
commit 49e2acd15e
1 file changed
+1 -1
+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);
}