diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2022-03-30 23:00:28 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2022-03-31 20:29:36 +0200 |
commit | 58d78650da3c6e4830b8350f4e6cbe87dc893c9f (patch) | |
tree | 5d8ca2b94670531a979febe92bdafd11c8398e41 /gcc/doc/options.texi | |
parent | 6c0e2645933449461d44fd2dce4fedf94199838c (diff) | |
download | gcc-58d78650da3c6e4830b8350f4e6cbe87dc893c9f.zip gcc-58d78650da3c6e4830b8350f4e6cbe87dc893c9f.tar.gz gcc-58d78650da3c6e4830b8350f4e6cbe87dc893c9f.tar.bz2 |
options: Clarifications around option definition records' help texts
gcc/
* doc/options.texi (Option file format): Clarifications around
option definition records' help texts.
Diffstat (limited to 'gcc/doc/options.texi')
-rw-r--r-- | gcc/doc/options.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index 50674938..17ba923 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -175,6 +175,17 @@ used instead of the option's name and the text to the right of the tab forms the help text. This allows you to elaborate on what type of argument the option takes. +There is no support for different help texts for different languages. +If an option is supported for multiple languages, use a generic +description that is correct for all of them. + +If an option has multiple option definition records (in different +front ends' @file{*.opt} files, and/or @file{gcc/common.opt}, for +example), convention is to not duplicate the help text for each of +them, but instead put a comment like @code{; documented in common.opt} +in place of the help text for all but one of the multiple option +definition records. + @item A target mask record. These records have one field of the form @samp{Mask(@var{x})}. The options-processing script will automatically |