[deployment-guide/comm-rel: 551/727] Yum: improve formatting of cmds

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:11:16 UTC 2010


commit b5e3b94606570e823d4099d9180757f1120b3dbd
Author: Douglas Silas <dhensley at redhat.com>
Date:   Wed Sep 1 21:46:20 2010 +0200

    Yum: improve formatting of cmds

 en-US/Yum.xml |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/en-US/Yum.xml b/en-US/Yum.xml
index 6e53617..f795778 100644
--- a/en-US/Yum.xml
+++ b/en-US/Yum.xml
@@ -210,8 +210,7 @@ Is this ok [y/N]:
         <primary>Yum</primary>
         <secondary>displaying packages with Yum</secondary>
       </indexterm>
-      <para>You can search all <application>RPM</application> package names, descriptions and summaries by using the <command>yum search <replaceable>&lt;term&gt;</replaceable>&#160;<optional><replaceable>more_terms</replaceable>
-          </optional>
+      <para>You can search all <application>RPM</application> package names, descriptions and summaries by using the <command>yum search <replaceable>&lt;term&gt;</replaceable>&#160;<optional><replaceable>more_terms</replaceable>&#xFEFF;</optional>
         </command> command. <command>yum</command> displays the list of matches for each term:</para>
       <screen>
 ~]# <command>yum search meld kompare</command>
@@ -299,8 +298,7 @@ krb5-workstation.x86_64                  1.8.1-3.el6                  @rhel
       <itemizedlist>
         <listitem>
           <para>
-            <command>yum list <replaceable>&lt;glob_expr&gt;</replaceable>&#160;<optional><replaceable>more_glob_exprs</replaceable>
-              </optional>
+            <command>yum list <replaceable>&lt;glob_expr&gt;</replaceable>&#160;<optional><replaceable>more_glob_exprs</replaceable>&#xFEFF;</optional>
             </command> — List information on installed and available packages matching all glob expressions.</para>
           <example
             id="ex-Listing_all_ABRT_addons_and_plugins_using_glob_expressions">
@@ -383,8 +381,7 @@ abrt-plugin-ticketuploader.x86_64             1.0.7-5.el6             @rhel</scr
       <bridgehead
         id="bh-Displaying_Package_Info">Displaying Package Info</bridgehead>
       <para>
-        <command>yum info <replaceable>&lt;package_name&gt;</replaceable>&#160;<optional><replaceable>more_names</replaceable>
-          </optional>
+        <command>yum info <replaceable>&lt;package_name&gt;</replaceable>&#160;<optional><replaceable>more_names</replaceable>&#xFEFF;</optional>
         </command>
         <indexterm>
           <primary>packages</primary>
@@ -430,8 +427,7 @@ Description: abrt is a tool to help users to detect defects in applications
         </command> is similar to the <command>rpm -q --info <replaceable>&lt;package_name&gt;</replaceable>
         </command> command, but provides as additional information the ID of the <application>Yum</application> repository the RPM package is found in (look for the <emphasis>From repo:</emphasis> line in the output).</para>
       <para>
-        <command>yumdb info <replaceable>&lt;package_name&gt;</replaceable>&#160;<optional><replaceable>more_names</replaceable>
-          </optional>
+        <command>yumdb info <replaceable>&lt;package_name&gt;</replaceable>&#160;<optional><replaceable>more_names</replaceable>&#xFEFF;</optional>
         </command> can be used to query the <application>Yum</application> database for alternative and useful information about a package, including the checksum of the package (and algorithm used to produce it, such as SHA-256), the command given on the command line that was invoked to install the package (if any), and the reason that the package is installed on the system (where <computeroutput>user</computeroutput> indicates it was installed by the user, and <computeroutput>dep</computeroutput> means it was brought in as a dependency):</para>
       <screen>~]#&#160;<command>yumdb info yum</command>
 yum-3.2.27-4.el6.noarch
@@ -461,7 +457,7 @@ yum-3.2.27-4.el6.noarch
       <screen>~]#&#160;<command>yum install <replaceable>&lt;package_name&gt;</replaceable>
         </command>
       </screen>
-      <para>You can install multiple packages simultaneously by appending their names as arguments: <command>yum install <replaceable>&lt;package_name&gt;</replaceable>&#160;<optional>more_names</optional>
+      <para>You can install multiple packages simultaneously by appending their names as arguments: <command>yum install <replaceable>&lt;package_name&gt;</replaceable>&#160;<optional><replaceable>more_names</replaceable>&#xFEFF;</optional>
         </command>.</para>
       <para>If you are installing packages on a <firstterm>multilib</firstterm> system, such as an AMD64 or Intel64 machine, you can specify the architecture of the package (as long as it's available in an enabled repository) by appending <replaceable>.arch</replaceable> to the package name:</para>
       <screen>
@@ -781,7 +777,8 @@ installonly_limit=3
             <para>...where <replaceable>&lt;value&gt;</replaceable> is one of:</para>
             <para>
               <userinput>best</userinput> — install the best-choice architecture for this system. For example, setting <literal>multilib_policy=best</literal> on an AMD64 system causes <command>yum</command> to install 64-bit versions of all packages.</para>
-              <para><userinput>all</userinput> — always install every possible architecture for every package. For example, with <literal>multilib_policy</literal> set to <literal>all</literal> on an AMD64 system, <command>yum</command> would install both the i586 and AMD64 versions of a package, if both were available.</para>
+            <para>
+              <userinput>all</userinput> — always install every possible architecture for every package. For example, with <literal>multilib_policy</literal> set to <literal>all</literal> on an AMD64 system, <command>yum</command> would install both the i586 and AMD64 versions of a package, if both were available.</para>
           </listitem>
         </varlistentry>
         <varlistentry>


More information about the docs-commits mailing list