]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
its --with-new-pkgs
[apt.git] / apt-private / private-cmndline.cc
index aceb865d578f94e261c97369c31cc858c8f368d9..b30eeffb74710bf37ccb561e786b192bf3e29b33 100644 (file)
@@ -125,7 +125,8 @@ bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const * const
       addArg(0, "solver", "APT::Solver", CommandLine::HasArg);
       if (CmdMatches("upgrade"))
       {
       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"))
       }
    }
    else if (CmdMatches("update"))