ninja: style "ninja" (for the program) with <command>

Or the mix up of "ninja" and "Ninja" will seem puzzling...
This commit is contained in:
Xi Ruoyao 2022-12-09 15:40:14 +08:00
parent 30f5283fab
commit 4640b37d96
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -49,12 +49,12 @@
<sect2 role="installation">
<title>Installation of Ninja</title>
<para>When run, ninja normally utilizes the greatest possible number of processes
in parallel. By default this is the number of cores on the system,
<para>When run, <command>ninja</command> normally utilizes the greatest
possible number of processes in parallel. By default this is the number of cores on the system,
plus two. This may overheat the CPU, or make the system run out
of memory. When ninja is invoked from the command line, passing the -jN parameter
of memory. When <command>ninja</command> is invoked from the command line, passing the -jN parameter
will limit the number of parallel processes. Some packages
embed the execution of ninja, and do not pass the -j parameter on to it.</para>
embed the execution of <command>ninja</command>, and do not pass the -j parameter on to it.</para>
<para>Using the <emphasis>optional</emphasis> procedure below allows a user to
limit the number of parallel processes via an environment variable,
@ -62,9 +62,9 @@
<screen>export NINJAJOBS=4</screen>
will limit ninja to four parallel processes.</para>
will limit <command>ninja</command> to four parallel processes.</para>
<para>If desired, make ninja recognize the environment variable
<para>If desired, make <command>ninja</command> recognize the environment variable
NINJAJOBS by running the stream editor:</para>
<screen><userinput remap="pre">sed -i '/int Guess/a \