summaryrefslogtreecommitdiff
path: root/apt-private/private-cmndline.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-08 19:59:04 +0200
committerMichael Vogt <mvo@debian.org>2013-10-08 19:59:04 +0200
commit649d3c5b7df830a67ad946921233da349c13a826 (patch)
tree9ea0c7a4eade1e0fc9f27499888fe3ab801a3db6 /apt-private/private-cmndline.cc
parent15847d263c371cadcb8664021b8eb2444dd70998 (diff)
parentdbf8fc0419831c83e83165de8c434782165aa400 (diff)
Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sid
Diffstat (limited to 'apt-private/private-cmndline.cc')
-rw-r--r--apt-private/private-cmndline.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index 5124ac157..8ba6629a8 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -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"))