cmdline: make -i a synonym for -f
@@ -478,7 +478,7 @@ bool cmdlineParse(int argc, char* argv[], honggfuzz_t* hfuzz) {
int opt_index = 0;
for (;;) {
int c = getopt_long(
- argc, argv, "-?hQvVsuPxf:dqe:W:r:c:F:t:R:n:N:l:p:g:E:w:B:zMTS", opts, &opt_index);
+ argc, argv, "-?hQvVsuPxf:i:dqe:W:r:c:F:t:R:n:N:l:p:g:E:w:B:zMTS", opts, &opt_index);
if (c < 0) break;
switch (c) {
@@ -487,6 +487,7 @@ bool cmdlineParse(int argc, char* argv[], honggfuzz_t* hfuzz) {
cmdlineUsage(argv[0], custom_opts);
break;
case 'f':
+ case 'i':
hfuzz->io.inputDir = optarg;
break;
case 'x':
