$ grep -A11 "specifics\[]" gcc/opts.c specifics[] = { { "optimizers", CL_OPTIMIZATION }, { "target", CL_TARGET }, { "warnings", CL_WARNING }, { "undocumented", CL_UNDOCUMENTED }, { "params", CL_PARAMS }, { "joined", CL_JOINED }, { "separate", CL_SEPARATE }, { "common", CL_COMMON }, { NULL, 0 } }; ./xgcc --help | grep help= --help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]
diff --git a/gcc/gcc.c b/gcc/gcc.c index 6a0dae5..a1aad41 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -3366,7 +3366,7 @@ display_help (void) fputs (_(" -pass-exit-codes Exit with highest error code from a phase\n"), stdout); fputs (_(" --help Display this information\n"), stdout); fputs (_(" --target-help Display target specific command line options\n"), stdout); - fputs (_(" --help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]\n"), stdout); + fputs (_(" --help={common|target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]\n"), stdout); fputs (_(" Display specific types of command line options\n"), stdout); if (! verbose_flag) fputs (_(" (Use '-v --help' to display command line options of sub-processes)\n"), stdout); oh and AFAICS there is no --help=debug that would list (e.g.) -fdump-[rtl|tree]-<pass> -- Summary: --help=common undocumented Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aldot at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44933