aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@gnu.org>2023-01-26 22:52:07 -0300
committerAlexandre Oliva <oliva@gnu.org>2023-01-26 22:52:07 -0300
commit575056672b3fec0cb4f5ddafd2d4a8c42b83589b (patch)
tree92c41d17528d3d40a8577a1616653fb5a6e3e4ee /gcc
parent2371d100b946ec96384e4541235fb87e0659d87b (diff)
downloadgcc-575056672b3fec0cb4f5ddafd2d4a8c42b83589b.zip
gcc-575056672b3fec0cb4f5ddafd2d4a8c42b83589b.tar.gz
gcc-575056672b3fec0cb4f5ddafd2d4a8c42b83589b.tar.bz2
[docs] note that -g opts are implicitly negatable too
Back in 2017, I made -g* options implicitly negatable, without realizing there was documentation that required updating. Oops. Fixed, at last! for gcc/ChangeLog * doc/options.texi (option, RejectNegative): Mention that -g-started options are also implicitly negatable.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/options.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index c6e73fd..f50063c 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -161,7 +161,7 @@ the help text to use for @option{--help} (omitted if the second field
contains the @code{Undocumented} property).
@end enumerate
-By default, all options beginning with ``f'', ``W'' or ``m'' are
+By default, all options beginning with ``f'', ``g'', ``W'' or ``m'' are
implicitly assumed to take a ``no-'' form. This form should not be
listed separately. If an option beginning with one of these letters
does not have a ``no-'' form, you can use the @code{RejectNegative}
@@ -239,8 +239,8 @@ and should not be accepted by the driver.
@item RejectNegative
The option does not have a ``no-'' form. All options beginning with
-``f'', ``W'' or ``m'' are assumed to have a ``no-'' form unless this
-property is used.
+``f'', ``g'', ``W'' or ``m'' are assumed to have a ``no-'' form unless
+this property is used.
@item Negative(@var{othername})
The option will turn off another option @var{othername}, which is