Преглед изворни кода

clarify the note for the pkgnames command in the manpage (Closes: #547599)

David Kalnischkies пре 17 година
родитељ
комит
3ba36dfffb
2 измењених фајлова са 7 додато и 2 уклоњено
  1. 2 0
      debian/changelog
  2. 5 2
      doc/apt-cache.8.xml

+ 2 - 0
debian/changelog

@@ -29,6 +29,8 @@ apt (0.7.24) UNRELEASED; urgency=low
       a bit and improve the documentation for this option group.
   * doc/apt.conf.5.xml:
     - document the Acquire::http::Dl-Limit option
+  * doc/apt-cache.8.xml:
+    - clarify the note for the pkgnames command (Closes: #547599)
   * doc/apt.ent, all man pages:
     - move the description of files to globally usable entities
   * doc/apt_preferences.5.xml:

+ 5 - 2
doc/apt-cache.8.xml

@@ -226,11 +226,14 @@ Reverse Provides:
      </varlistentry>
 
      <varlistentry><term>pkgnames <replaceable>[ prefix ]</replaceable></term>
-     <listitem><para>This command prints the name of each package in the system. The optional
+     <listitem><para>This command prints the name of each package APT knows. The optional
      argument is a prefix match to filter the name list. The output is suitable
      for use in a shell tab complete function and the output is generated 
      extremely quickly. This command is best used with the 
-     <option>--generate</option> option.</para></listitem>
+     <option>--generate</option> option.</para>
+     <para>Note that a package which APT knows of is not nessasarily available to download,
+     installable or installed, e.g. virtual packages are also listed in the generated list.
+     </para></listitem>
      </varlistentry>
      
      <varlistentry><term>dotty <replaceable>pkg(s)</replaceable></term>