]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
add test for upgrade, upgrade --with-new-pkgs, dist-upgrade
[apt.git] / apt-private / private-cmndline.cc
index 5124ac157358e5864e2dcc884b16ecd9c6e6a72c..8ba6629a802d4b26c5e74c187d839e1d47850a70 100644 (file)
@@ -129,7 +129,8 @@ bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const * const
       addArg(0, "solver", "APT::Solver", CommandLine::HasArg);
       if (CmdMatches("upgrade"))
       {
-        addArg(0, "allow-new", "APT::Get::UpgradeAllowNew", 0);
+         addArg(0, "new-pkgs", "APT::Get::Upgrade-Allow-New", 
+                CommandLine::Boolean);
       }
    }
    else if (CmdMatches("update"))