Skip to content

Commit 49e2acd

Browse files
committed
Printing: fix --help *-format
1 parent e4a6bf1 commit 49e2acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/printing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void ffPrintModuleFormatHelp(const char* name, const char* def, uint32_t numArgs
143143
puts("The following values are passed:");
144144

145145
for(unsigned i = 0; i < numArgs; i++)
146-
printf(" {%u}: %s\n", i, args[i]);
146+
printf(" {%u}: %s\n", i + 1, args[i]);
147147

148148
printf("The default is something similar to \"%s\".\n", def);
149149
}

0 commit comments

Comments
 (0)