https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104614
Bug ID: 104614 Summary: "Undocumented" option flag ignored with --help=target Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: rearnsha at gcc dot gnu.org Target Milestone: --- I don't know if this applies to other --help varieties, but in the Arm backend we have some 'internal' options which we don't want the user to be using. However, --help=target is still printing these out even though the manual suggests these should be suppressed. For example, in arm.opt we have: ; Set to the name of target architecture which is required for ; multilib linking. This option is undocumented because it ; should not be used by the users. mlibarch= Target RejectNegative JoinedOrMissing NoDWARFRecord DriverOnly Undocumented But the output of --help=target contains: -mlibarch= This option lacks documentation. Which is wrong. Is there something else that needs to be done to suppress this output?