David Kalnischkies лет назад: 15
Родитель
Сommit
b40f2c3bd7
1 измененных файлов с 20 добавлено и 24 удалено
  1. 20 24
      doc/apt-mark.8.xml

+ 20 - 24
doc/apt-mark.8.xml

@@ -18,7 +18,7 @@
    &apt-email;
    &apt-email;
    &apt-product;
    &apt-product;
    <!-- The last update date -->
    <!-- The last update date -->
-   <date>9 August 2009</date>
+   <date>21 April 2011</date>
  </refentryinfo>
  </refentryinfo>
  
  
  <refmeta>
  <refmeta>
@@ -42,12 +42,13 @@
 	<group choice="plain">
 	<group choice="plain">
 		<arg choice="plain">
 		<arg choice="plain">
 			<group choice="req">
 			<group choice="req">
-				<arg choice="plain">markauto</arg>
-				<arg choice="plain">unmarkauto</arg>
+				<arg choice="plain">auto</arg>
+				<arg choice="plain">manual</arg>
+				<arg choice="plain">showauto</arg>
+				<arg choice="plain">showmanual</arg>
 			</group>
 			</group>
 			<arg choice="plain" rep="repeat"><replaceable>package</replaceable></arg>
 			<arg choice="plain" rep="repeat"><replaceable>package</replaceable></arg>
 		</arg>
 		</arg>
-		<arg choice="plain">showauto</arg>
 	</group>
 	</group>
    </cmdsynopsis>
    </cmdsynopsis>
  </refsynopsisdiv>
  </refsynopsisdiv>
@@ -65,16 +66,16 @@
      <command>apt-get</command> or <command>aptitude</command>.
      <command>apt-get</command> or <command>aptitude</command>.
    </para>
    </para>
      <variablelist>
      <variablelist>
-       <varlistentry><term>markauto</term>
-	 <listitem><para><literal>markauto</literal> is used to mark a
+       <varlistentry><term>auto</term>
+	 <listitem><para><literal>auto</literal> is used to mark a
      package as being automatically installed, which will cause the
      package as being automatically installed, which will cause the
      package to be removed when no more manually installed packages
      package to be removed when no more manually installed packages
      depend on this package.
      depend on this package.
        </para></listitem>
        </para></listitem>
        </varlistentry>
        </varlistentry>
 
 
-       <varlistentry><term>unmarkauto</term>
-	 <listitem><para><literal>unmarkauto</literal> is used to mark a
+       <varlistentry><term>manual</term>
+	 <listitem><para><literal>manual</literal> is used to mark a
      package as being manually installed, which will prevent the
      package as being manually installed, which will prevent the
      package from being automatically removed if no other packages
      package from being automatically removed if no other packages
      depend on it.
      depend on it.
@@ -84,8 +85,18 @@
        <varlistentry><term>showauto</term>
        <varlistentry><term>showauto</term>
 	 <listitem><para><literal>showauto</literal> is used to print a
 	 <listitem><para><literal>showauto</literal> is used to print a
      list of automatically installed packages with each package on a new line.
      list of automatically installed packages with each package on a new line.
+     All automatically installed packages will be listed if no package is given.
+     If packages are given only those which are automatically installed will be shown.
        </para></listitem>
        </para></listitem>
        </varlistentry>
        </varlistentry>
+
+       <varlistentry><term>showmanual</term>
+	 <listitem><para><literal>showmanual</literal> can be used in
+     the same way as <literal>showauto</literal> except that it will print
+     a list of manually installed packages instead.
+       </para></listitem>
+       </varlistentry>
+
      </variablelist>
      </variablelist>
  </refsect1>
  </refsect1>
  
  
@@ -102,23 +113,8 @@
      is <filename>extended_status</filename> in the directory defined
      is <filename>extended_status</filename> in the directory defined
      by the Configuration Item: <literal>Dir::State</literal>.</para></listitem>
      by the Configuration Item: <literal>Dir::State</literal>.</para></listitem>
      </varlistentry>
      </varlistentry>
-   
-     <varlistentry><term><option>-h</option></term>
-     <term><option>--help</option></term>
-     <listitem><para>Show a short usage summary.
-     </para>
-     </listitem>
-     </varlistentry>
-     
-     <varlistentry>
-      <term><option>-v</option></term>
-      <term><option>--version</option></term>
-      <listitem><para>Show the program version.
-     </para>
-     </listitem>
-     </varlistentry>
 
 
-     
+     &apt-commonoptions;
    </variablelist>
    </variablelist>
  </refsect1>
  </refsect1>