]> git.saurik.com Git - apt.git/commitdiff
document list/search
authorMichael Vogt <mvo@debian.org>
Mon, 6 Jan 2014 06:49:01 +0000 (07:49 +0100)
committerMichael Vogt <mvo@debian.org>
Mon, 6 Jan 2014 06:49:01 +0000 (07:49 +0100)
cmdline/apt.cc
doc/apt.8.xml

index b2f19c0496b481155ac2760a6afc6d37a5636910..d2eb7a5a3b135f42ed62e9d499c575d8793f2b27 100644 (file)
@@ -72,8 +72,10 @@ bool ShowHelp(CommandLine &CmdL)
       " show - show package details\n"
       "\n"
       " update - update list of available packages\n"
-      " install - install packages\n"
       " upgrade - upgrade the systems packages\n"
+      "\n"
+      " install - install packages\n"
+      " remove - remove packages\n"
        );
    
    return true;
index 0340e043f186945b2afc0532b49ed8491342e2d5..a0ae9086dd509b84808b1409c6eb5d409225e80a 100644 (file)
@@ -13,7 +13,6 @@
 <refentry>
 
  <refentryinfo>
-   &apt-author.jgunthorpe;
    &apt-author.team;
    &apt-email;
    &apt-product;
    </para>
 
    <variablelist>
+     <varlistentry><term><option>list</option></term>
+     <listitem><para><literal>list</literal> is used to
+     display a list of packages. It supports shell pattern for matching
+     package names and the following options:
+       <option>--installed</option>
+       <option>--upgradable</option>
+       <option>--all-versions</option>
+     are supported.
+     </para></listitem>
+     </varlistentry>
+     
+     <varlistentry><term><option>search</option></term>
+     <listitem><para><literal>search</literal> searches for the given
+     term(s) and display matching packages.
+     </para></listitem>
+     </varlistentry>
+
      <varlistentry><term><option>update</option></term>
      <listitem><para><literal>update</literal> is used to
      resynchronize the package index files from their sources.
      </para></listitem>
-   </varlistentry>
+     </varlistentry>
      
      <varlistentry><term><option>upgrade</option></term>
      <listitem><para><literal>upgrade</literal> is used to install the