diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2018-12-03 09:19:46 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2018-12-03 17:21:39 +0100 |
commit | 14535446557cb8b4125e7badc5e67a9f7790ab53 (patch) | |
tree | 93c3ebe615b0e4ef1d5fe8fb5611fdc016a73fc8 /cmdline/apt.cc | |
parent | f35601e5d2b9fe8b99c6178cb9b160f1a42f432f (diff) |
Provide a "autopurge" shortcut
This adds a new "autopurge" command that will is a shortcut for
"autoremove --purge"
Thanks: Michael Vogt for the initial work
Diffstat (limited to 'cmdline/apt.cc')
-rw-r--r-- | cmdline/apt.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc index 6bf85467e..776b100bf 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -66,6 +66,7 @@ static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ {"remove", &DoInstall, _("remove packages")}, {"autoremove", &DoInstall, _("Remove automatically all unused packages")}, {"auto-remove", &DoInstall, nullptr}, + {"autopurge",&DoInstall, nullptr}, {"purge", &DoInstall, nullptr}, // system wide stuff |