summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2019-01-27 08:27:33 +0100
committerJosh Triplett <josh@joshtriplett.org>2019-01-27 08:27:33 +0100
commit0eceebbdfdc2c5e1d677bff95a9ac1ef2f728337 (patch)
treeea115e22ccc8ba68b83e5f86d3e90915b80943c9 /doc
parent4200469bb5a14c4659285917ed30c46a0b15c286 (diff)
Add a "reinstall" command as an alias for "install --reinstall".
aptitude has a similar "reinstall" command for precedent.
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-get.8.xml4
-rw-r--r--doc/apt.8.xml2
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml
index 184282e69..b83eabd27 100644
--- a/doc/apt-get.8.xml
+++ b/doc/apt-get.8.xml
@@ -143,6 +143,10 @@
with a '^' or '$' character, or create a more specific regular expression.</para></listitem>
</varlistentry>
+ <varlistentry><term><option>reinstall</option></term>
+ <listitem><para><literal>reinstall</literal> is an alias for <literal>install --reinstall</literal>.</para></listitem>
+ </varlistentry>
+
<varlistentry><term><option>remove</option></term>
<listitem><para><literal>remove</literal> is identical to <literal>install</literal> except that packages are
removed instead of installed. Note that removing a package leaves its
diff --git a/doc/apt.8.xml b/doc/apt.8.xml
index 626419ec3..08492bf54 100644
--- a/doc/apt.8.xml
+++ b/doc/apt.8.xml
@@ -69,7 +69,7 @@
</para></listitem>
</varlistentry>
- <varlistentry><term><option>install</option>, <option>remove</option>, <option>purge</option> (&apt-get;)</term>
+ <varlistentry><term><option>install</option>, <option>reinstall</option>, <option>remove</option>, <option>purge</option> (&apt-get;)</term>
<listitem><para>Performs the requested action on one or more packages
specified via &regex;, &glob; or exact match. The requested action
can be overridden for specific packages by append a plus (+) to the