Add support for --help

This commit is contained in:
Detlef Riekenberg 2010-01-26 22:58:48 +01:00 committed by Detlef Riekenberg
parent a975008ae7
commit 62ba135228

1
tcc.c
View File

@ -120,6 +120,7 @@ enum {
static const TCCOption tcc_options[] = {
{ "h", TCC_OPTION_HELP, 0 },
{ "-help", TCC_OPTION_HELP, 0 },
{ "?", TCC_OPTION_HELP, 0 },
{ "I", TCC_OPTION_I, TCC_OPTION_HAS_ARG },
{ "D", TCC_OPTION_D, TCC_OPTION_HAS_ARG },