summaryrefslogtreecommitdiff
path: root/doc/apt-get.8.xml
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-03-12 10:59:37 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-03-12 10:59:37 +0100
commit6cd9fbd763298816e5d010703ceb9ffad0c235c9 (patch)
treecdc9b6c0bd129112514bb97b1429abb34a7e84b4 /doc/apt-get.8.xml
parent569cc9349d26cc6a886111023df21ba569b1ffbe (diff)
* cmdline/apt-get.cc:
- add a --only-upgrade flag to install command (Closes: #572259) That is NOT what is requested in e.g. #74067 - this is a very simple flag which behaves orthogonal to --no-upgrade not a full-blown upgrade option for a single package instead of the whole package set.
Diffstat (limited to 'doc/apt-get.8.xml')
-rw-r--r--doc/apt-get.8.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml
index 3d22f262c..4f8c80169 100644
--- a/doc/apt-get.8.xml
+++ b/doc/apt-get.8.xml
@@ -444,6 +444,13 @@
Configuration Item: <literal>APT::Get::Upgrade</literal>.</para></listitem>
</varlistentry>
+ <varlistentry><term><option>--only-upgrade</option></term>
+ <listitem><para>Do not install new packages; When used in conjunction with <literal>install</literal>,
+ <literal>only-upgrade</literal> will prevent packages on the command line
+ from being upgraded if they are not already installed.
+ Configuration Item: <literal>APT::Get::Only-Upgrade</literal>.</para></listitem>
+ </varlistentry>
+
<varlistentry><term><option>--force-yes</option></term>
<listitem><para>Force yes; This is a dangerous option that will cause apt to continue
without prompting if it is doing something potentially harmful. It