summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-26 16:14:13 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-26 16:14:58 +0200
commit75d238ba66576c04f257e9d7c0a6995721f1441d (patch)
tree36d798a3075437cb821a16c1ae754eb41a018f44 /apt-private
parent4f242a2289cc5db7a53afdb875291c94de64fd90 (diff)
Accept --autoremove as alias for --auto-remove
I probably missed that when I did the usability work. But better late than never.
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cmndline.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index a890aafab..d0cda08a6 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -189,6 +189,7 @@ static bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const
addArg('f', "fix-broken", "APT::Get::Fix-Broken", 0);
addArg(0, "purge", "APT::Get::Purge", 0);
addArg('V',"verbose-versions","APT::Get::Show-Versions",0);
+ addArg(0, "autoremove", "APT::Get::AutomaticRemove", 0);
addArg(0, "auto-remove", "APT::Get::AutomaticRemove", 0);
addArg(0, "reinstall", "APT::Get::ReInstall", 0);
addArg(0, "solver", "APT::Solver", CommandLine::HasArg);