]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
add man-page, improve option, use --with-new-pkgs as the flag
[apt.git] / cmdline / apt-get.cc
index 93c21651f6525186847ba964e486aa157f6cf8ae..392eafe4fff01290433a161831394e6917b315ce 100644 (file)
@@ -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);