diff mbox series

[DOC] Fix optindex entries for 2 options.

Message ID b9e1f059-5073-d511-5d7e-5bac12adcd33@suse.cz
State New
Headers show
Series [DOC] Fix optindex entries for 2 options. | expand

Commit Message

Martin Liška May 7, 2020, 1:59 p.m. UTC
Hi.

It's an obvious documentation fix. I'm going to install it
also to gcc-10 branch.

Martin

gcc/ChangeLog:

2020-05-07  Martin Liska  <mliska@suse.cz>

	* doc/invoke.texi: Fix 2 optindex entries.
---
  gcc/doc/invoke.texi | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index c97318f0465..35e8242af5f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -11399,7 +11399,7 @@  default, GCC emits an error message when an inconsistent profile is detected.
 This option is enabled by @option{-fauto-profile}.
 
 @item -fprofile-partial-training
-@opindex fprofile-use
+@opindex fprofile-partial-training
 With @code{-fprofile-use} all portions of programs not executed during train
 run are optimized agressively for size rather than speed.  In some cases it is
 not practical to train all possible hot paths in the program. (For
@@ -13393,6 +13393,7 @@  location.  If you combine the option with multiple source files,
 the @file{.gcno} file will be overwritten.
 
 @item -fprofile-prefix-path=@var{path}
+@opindex fprofile-prefix-path
 
 This option can be used in combination with
 @option{profile-generate=}@var{profile_dir} and