From: Julian Andres Klode Date: Fri, 26 Aug 2016 14:14:13 +0000 (+0200) Subject: Accept --autoremove as alias for --auto-remove X-Git-Tag: 1.3_rc3~11 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/75d238ba66576c04f257e9d7c0a6995721f1441d Accept --autoremove as alias for --auto-remove I probably missed that when I did the usability work. But better late than never. --- 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 &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); diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index 4c34b298b..56ce08165 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -522,7 +522,7 @@ Configuration Item: APT::Get::Remove. - + If the command is either install or remove, then this option acts like running the autoremove command, removing unused dependency packages. Configuration Item: APT::Get::AutomaticRemove.