aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2019-06-26 09:43:52 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2019-06-26 09:43:52 +0200
commitde80936dbf2ae4a6304a8cbe70e05b483bcc7ee9 (patch)
tree884603b3dbc275f33a363003d5714548eb1bf7ed /gcc/doc
parent44ead50eb657c17ca9113db3212fde8b25e655a2 (diff)
downloadgcc-de80936dbf2ae4a6304a8cbe70e05b483bcc7ee9.zip
gcc-de80936dbf2ae4a6304a8cbe70e05b483bcc7ee9.tar.gz
gcc-de80936dbf2ae4a6304a8cbe70e05b483bcc7ee9.tar.bz2
doc: Fix opindex for -W options
@opindex -Wxxx is wrong; it should be @opindex Wxxx. * doc/invoke.texi (Warning Options): Fix some @opindex syntax. From-SVN: r272672
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e6d591c..03d2895 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6146,8 +6146,8 @@ false positives and is deactivated by default.
@item -Wattribute-alias=@var{n}
@itemx -Wno-attribute-alias
-@opindex -Wattribute-alias
-@opindex -Wno-attribute-alias
+@opindex Wattribute-alias
+@opindex Wno-attribute-alias
Warn about declarations using the @code{alias} and similar attributes whose
target is incompatible with the type of the alias.
@xref{Function Attributes,,Declaring Attributes of Functions}.