diff mbox series

doc: Fixup a couple of formatting nits

Message ID a6926d86-9405-1f8a-47a5-562d43f95a85@acm.org
State New
Headers show
Series doc: Fixup a couple of formatting nits | expand

Commit Message

Nathan Sidwell Nov. 20, 2020, 3:15 p.m. UTC
I noticed a couple of places we used @code{program} instead of
@command{program}.

	gcc/
	* doc/invoke.texi: Replace a couple of @code with @command

pushing to trunk
diff mbox series

Patch

diff --git c/gcc/doc/invoke.texi w/gcc/doc/invoke.texi
index 07232c6b33d..29ae36861ad 100644
--- c/gcc/doc/invoke.texi
+++ w/gcc/doc/invoke.texi
@@ -97,7 +97,7 @@  The usual way to run GCC is to run the executable called @command{gcc}, or
 When you compile C++ programs, you should invoke GCC as @command{g++} 
 instead.  @xref{Invoking G++,,Compiling C++ Programs}, 
 for information about the differences in behavior between @command{gcc} 
-and @code{g++} when compiling C++ programs.
+and @command{g++} when compiling C++ programs.
 
 @cindex grouping options
 @cindex options, grouping
@@ -14352,7 +14422,7 @@  Note that it is quite common that execution counts of some part of
 programs depends, for example, on length of temporary file names or
 memory space randomization (that may affect hash-table collision rate).
 Such non-reproducible part of programs may be annotated by
-@code{no_instrument_function} function attribute. @code{gcov-dump} with
+@code{no_instrument_function} function attribute. @command{gcov-dump} with
 @option{-l} can be used to dump gathered data and verify that they are
 indeed reproducible.