summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-28 11:28:40 +0200
committerMichael Vogt <mvo@debian.org>2013-08-28 11:28:40 +0200
commitc678a0443518aa5e8f328f358fca7b35252df84e (patch)
tree55527db5a7b314b612a1768b402a24363078af53 /cmdline
parentc8d49419be9ce10ade643370bf29891f76b5c339 (diff)
add man-page, improve option, use --with-new-pkgs as the flag
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 93c21651f..392eafe4f 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1627,7 +1627,7 @@ void SigWinch(int)
bool DoUpgrade(CommandLine &CmdL)
{
- if (_config->FindB("APT::Get::UpgradeAllowNew", false) == true)
+ if (_config->FindB("APT::Get::Upgrade-Allow-New", false) == true)
return DoUpgradeWithAllowNewPackages(CmdL);
else
return DoUpgradeNoNewPackages(CmdL);