Also support --help -v, i.e. arguments in different order.

This commit is contained in:
Christian Jullien
2020-06-01 18:01:12 +02:00
parent bbb3f79bb8
commit e640ed1aeb
2 changed files with 16 additions and 6 deletions

2
tcc.c
View File

@@ -273,7 +273,7 @@ redo:
return 0;
}
if (opt == OPT_HELP2) {
fputs(help, stdout);
fputs(help2, stdout);
return 0;
}
if (opt == OPT_VERBOSE_HELP) {