summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-private/private-cmndline.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index aceb865d5..c0b5a875f 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -163,6 +163,9 @@ bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const * const
addArg('s', "no-act", "APT::Get::Simulate", 0);
}
+ if (CmdMatches("upgrade"))
+ addArg(0, "allow-new", "APT::Get::UpgradeAllowNew", CommandLine::Boolean);
+
// FIXME: move to the correct command(s)
addArg('d',"download-only","APT::Get::Download-Only",0);
addArg('y',"yes","APT::Get::Assume-Yes",0);